¿ªÔÆÌåÓý

Re: Embedding a sign up form in my Squarespace website


 

Christos wrote "Maybe not all is lost, it could be even simpler than the PHP script by using just HTML; add a form with an email text box and a button, and have the button invoke a regular HTML mailto: link with the textbox's email as the from, and the rest (to group+subscribe, some or blank subject) hardcoded."

This works, but opens the user's Mail User Agent and doesn't directly send the message. You would have to introduce it with a message like "Click [link/button] to send an email to join the group" so the user isn't startled. (Otherwise, nervous users could suspect they had been hacked.)

Here's a sample complete HTML that does this:?
<a mailto:groups.io/g/mygroup+subscribe&subject=Please subscribe me to mygroup&body=Please subscribe me to mygroup. Thanks!>Send an email to subscribe.</a>

This displays a message "Send an email to subscribe." and initiates an email. The email contains some content that will be ignored, but provides a certain comfort level to people unfamiliar with computers.

Larry

Join [email protected] to automatically receive all group messages.