Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form mailto -> manipulating the email subject line 3

Status
Not open for further replies.

SSJpn

Technical User
Oct 7, 2002
259
US
I have a simple form using the mailto action.

The emails subject line reads "Form posted from Microsoft Internet Explorer." How can I change this to something more meaningful to me. Like "Soccer Registration Form".

Thanks,

SSJpn
 
Try:

"mailto:name@domain.com?subject=Soccer Registration Form"

Dan.
 
Thanks for the stars. Glad I could help. By the way, if you wanted to add a CC to the mailto it would be:
Code:
"mailto:name@domain.com?cc=ccname@domain.com&subject=Soccer Registration Form"

Dan.
 
Hi all, Am I able to manipulate the subject line of the mailto: if it's not in a form, it's just an <a href=&quot;maito:email@email.com&quot;>Email me</a> ???
 
Sure, it works just the same:
Code:
<a href=&quot;mailto:email@email.com?subject=Comment about the site&quot;>Email me</a>
 
I thought I'd ask as when I saw this post, I gave it a go in the situation I mentioned and it didn't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top