Jump to content

mailto function


cranebill

Recommended Posts

Hi all, I have created a mailto option, that inserts my email, a subject and "Hi Wayne" in the body of the email,I was quite proud of this achievement, UNTIL, when I was using msn as default email editor, as soon as I changed it to yahoo default email on my computer, all I got was my email address, none of the other bits showed up.Can someone point me in the right direction for solving this issue, so no matter who tries to contact me, the email address, subject and some text in the body of an email work, I can't seem to solve it looking for an answer in the tutorials

Link to comment
Share on other sites

The mailto: pseudo-protocol isn't a very good option; as you discovered it is dependent on the user having a co-operative mail client.It is preferable to use a server-side language such as PHP to use the web server's SMTP server to send the mail.http://www.w3schools.com/php/php_mail.asp

Link to comment
Share on other sites

The mailto: pseudo-protocol isn't a very good option; as you discovered it is dependent on the user having a co-operative mail client.It is preferable to use a server-side language such as PHP to use the web server's SMTP server to send the mail.http://www.w3schools.com/php/php_mail.asp
That will have to wait for a bit, Thanks anyway :)
Link to comment
Share on other sites

<a class="two" href="mailto:wayne.mayer@btinternet.com&subject=Bridge%20Weekend&body=Hi%20Wayne">Contact us</a>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...