Log in

View Full Version : <mailto> tag



Freeman
01-31-2006, 03:25 PM
Is the <a href="mailto:whatever@whatever.com"> the only way to send a message from a webpage? when they click this is comes up with the usual mail form. I would like one that dosen't come up with the Microsoft Outlook. Is this possible or do I need to make it a cgi-bin and have it sent to the right location. Thanks for the help, JF

Twey
01-31-2006, 04:04 PM
do I need to make it a cgi-bin and have it sent to the right location.If you mean "do I need to use a server-side script" then yes, you do.
There is, theoretically, one other way: you can set a form's action attribute to a mailto: pseudo-URL. However, this is ugly and unreliable. You're best using a server-side script. If you can't host one yourself, I suggest http://www.mail-maniac.com/.