Populating Subject field in outlook

My code for starting an email from a web application in Notes is:

window.open(‘mailto:clifton@hotmail.com;athony@hotmal.com’)

This starts the email and populate the send to field. Any suggestion for populating the Subject & or Body of the email.

Thanks

Booby

Subject: Populating Subject field in outlook

Hi,

Try this:

mailto:clifton@hotmail.com;athony@hotmal.com?subject=the-subject&body=the_body

Personaly, I use a JS function to populate mail…

HTH

Thierry

Subject: RE: Populating Subject field in outlook

Thanks!

Works just fine.

Subject: RE: Populating Subject field in outlook

Here’s something I’m currently testing. Still trying to figure out if there is a way to replace carriage returns / line feeds so that I can have a well formatted body with paragraphs, etc…

FIELD subjvar := @ReplaceSubstring(CompanyName;

" “:”,“:”?“:”.“:”!“:”:“:”;“:”/“:”-“:”(“:”)“:”&";

“%20”:“%2C”:“%3F”:“%2E”:“%21”:“%3A”:“%3B”:“%2F”:“%2D”:“%28”:“%29”:“%26”);

FIELD bodyvar := @ReplaceSubstring(ContactNotesHistory;

" “:”,“:”?“:”.“:”!“:”:“:”;“:”/“:”-“:”(“:”)“:”&";

“%20”:“%2C”:“%3F”:“%2E”:“%21”:“%3A”:“%3B”:“%2F”:“%2D”:“%28”:“%29”:“%26”);

@Command([Execute]; “OUTLOOK”; “-c IPM.Note /m mailto:”+Email+“?subject=”+subjvar+“&body=”+bodyvar)