Forum Moderators: open

Message Too Old, No Replies

Setting a "Subject" line in a link to an email address

How do you set a pre-set subject line?

         

infinitewoman

12:04 am on Mar 7, 2004 (gmt 0)

10+ Year Member



I want to be able to pre-set a subject line for the "Mail Us" feature on my website instead of letting the visitor stick in any old subject line. Can I do this?

Thanks, in advance.

eg. Send us <a href="mailto:name@site.com">your thoughts</a> today.

isitreal

12:04 am on Mar 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



<a href="mailto:name@site.com?subject=Send Us Your Thoughts">your thoughts</a> today.

tbear

4:41 am on Mar 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To go 1 step further, you can also specify the body of the e-mail, thus:
"mailto:info@mysite.com?subject=Web Ref: green widget&body=Please supply more information about your green widget ref nš.1234"

This allows your visitors to just click send making mailing a step easier for them.

g1smd

11:30 pm on Mar 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can also set the cc and bcc fields this way too.