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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript mailto html page as body

Status
Not open for further replies.

ProgRedes

Programmer
Jun 18, 2005
4
CU
Hi...

Is it possible to use Javascript to attach a html page to a "mailto" email?

Can I send the current page as an email/attach it to an email?

The html page has some images.

Thank you
 
Is javascript mailto html page as body possible or not??
 
Trust me, if anyone knew for certain whether it was possible or not they probably would have answered by now. Have you tried doing a google search? Try some combination of the terms: javascript email page

or: javascript "send page to"

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
You cannot use mailto to change the content-type of an email message (and that is what you need to do if you wish to specifically set HTML within the body content).

You can only use mailto to set the contents of fields in an email (as I am sure you know):
Code:
mailto:user@someplace.org?cc=others@someplace.org&subject=Test&body=Hello
To produce something like:
Code:
To: user@someplace.org
Cc: others@someplace.org
Subject: Test
Hello

Regards,
Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top