Javability (Java, Zaurus, Linux, Live) by Jean-Marc Autexier, Saarland/Germany
cat /dev/www | egrep 'Java|Linux|Zaurus|ITnews|Live' > blog

27.7.05 17:43 Mailto: with subject and body ( , , , )

I discovered today that the mailto: command supports not only the To field but many other fields too.

Example:
click here to send a mail

Code:
< href  ="mailto:mail@somehost.org?subject=Testmail
&body=Hello Jean-Marc,%0A%0AWorks great.%0A%0ARegards.">send a mail</a>


The example sets also subject and body field of the mail.

Other fields one can set:

  • Many adresses: separate with semicolon (;)
  • CC: cc=mail@somehost.org
  • BCC: bcc=mail@somehost.org
  • subject and body, as shown above. %0A is return

posted by Jean-Marc Autexier | 0 comments | Permalink | Send to Friends | Google it!
Subscribe

Locations of visitors to this page
selected blogs
ressources
Security
Unsorted
Fun
Free&Open Software
archives
This is a personal web page. Things said here do not represent the position of my employer.
RSS icons by: FastIcon.com