Hi all,
I'm trying to put a script on all of my pages, that will 'send this page to a friend', it will automatically bring up their e-mail propgram, it will have the senders email address in the from field, the subject and some body text will already be complete. The question is, can I do this in a php script and not js ?
Regards.
Doug.
You can do this even with plain HTML, however the best way would be to do the entire mailaction serverside. Many mailproggies doen't follow standards or the visitor might not even HAVE a configured mailclient on the mashine he's at.
Anyway, here is the HTML
<a href="mailto:mail@ab.com?subject=blabla?body=some text">Clickme</a>
Many thanks for that, good help. I think we're nearly there. One thing, when I put the text in that you suggest, I get the body bit in the subject line ? ?
Here on javaScript source there is a good script for that. I think Biab made it or something. It is titles A search engine for YOUR site or something. I forget where it is.
Bookmarks