Article ID: 192341 - Last Review: January 23, 2007 - Revision: 4.1 OLEXP: How to Send Outlook Express Mail from a Command LineThis article was previously published under Q192341 On This PageSUMMARY
This article describes how to create a preformatted and preaddressed
e-mail message in which the following fields are automatically populated
with information you specify:
MORE INFORMATION
To create a preformatted and preaddressed e-mail message, use the
following command line
mailto:<to e-mail>?cc=<cc email>&bcc=<bcc mail>&subject=<subject
text>&body=<body text>
where the following variable definitions apply:
Variable Field entry ------------------------------------------------------- <to e-mail> e-mail address to appear in the To field <cc mail> e-mail address to appear in the CC field <bcc mail> e-mail address to appear in the BCC field <subject> text to appear in the Subject field <body text> text to appear in the body of the message Special FormattingYou must use ASCII hexadecimal equivalents as variables for punctuation characters. The following variables are used to represent commonly used characters:Punctuation Hexadecimal equivalent ---------------------------------------------- Space ( ) %20 Comma (,) %2C Question mark (?) %3F Period (.) %2E Exclamation point (!) %21 Colon (:) %3A Semicolon (;) %3B Line feed %0A Line break (ENTER key) %0D
&subject=Hello%20World%21&body=How%20are%20you%2C%20John%3F
yields the following message:
Subject: Hello World! Body : How are you, John? Uses of the Command-Line StringYou can use this command-line string:
| Article Translations
|

Back to the top
