subject in emails

G

Guest

Hi
Is there anyway when people click on a particular email link an one of my
pages, it can have a predetermined subject line filled in. ie person clicks
on link to send email with photo, can the subject line come up with photo
already filled in. Hope this makes sense in what I am trying to achieve
 
R

Ronx

<a href="mailto:[email protected]?subject=Photo+attached">Send a
photo</a>

Requires the browser has an associated email client, and will attract
spam like a magnet attracts iron filings.
May fail with AOL browser users.
 
T

Trevor L.

Ronx said:
<a href="mailto:[email protected]?subject=Photo+attached">Send a
photo</a>

Requires the browser has an associated email client, and will attract
spam like a magnet attracts iron filings.

But to avoid spam, one could use:
<a href="#" onclick ="sendEmail();return false">Send a photo</a>

function sendEmail()
{location.href = "mailto:" + "user" + "@" + "example" + ".com" +
"?subject=Photo attached"}

This is what Jimco's spam spoiler does, so I assume that spammers can't
detect an address when it is split up like this

--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top