Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on mailto tag

 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am using mailto tag in my javascript, I have the following questions on mailto tag

1. Is there any way to make body with html content?
2. Is there any way to make image as a body content?

I tried sending html elements through body but it is displaying like text.

Any suggestion on this is very helpful.

Thanks
-Mark
 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgot to mention that I am using MS office 2007.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe the mailto protocol is limited to just plain text. You cna add in line breaks into the body: http://www.ianr.unl.edu/internet/mailto.html

Eric
 
Harish Maridi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want more control, you need to move the mailing to the server.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic