View Full Version : Email URL to a friend script help, image linked

06-01-2006, 02:11 AM
Hey, all. I want to have a simple mailbox image on my web pages, with text that says "Send to a friend", that works so that when the mailbox image is clicked on it opens up a new message in Outlook, or whatever mail program the user has, with the URL of the page they're sending already in the body of the email.

Most of the scripts I've seen bring up forms to fill out or have text links and not image links for the script. All I want is the URL in a new message and let the user type in whatever email address or addresses they want.

Thanks in advance!!!


Philip M
06-01-2006, 08:33 AM
Google is your friend! See e.g.


But no matter what you try you will get inconsistent results attempting to do
this via scripting and a mailto link. Different browsers behave in different ways. Many people don't have email clients installed on the machine they are because the web-based account they have is just fine. Instead, you will do best to form and process it all server-side.

06-01-2006, 09:32 AM
there are some hosting sites where you can do that even with the free page. i know you can do it with freeservers.com

06-01-2006, 10:04 AM
Thanks for the advice and info!