The NetIQ Corporation MAPI mailer program, NetIQMapiMail.exe, is a command-line program used to send MAPI mail messages.
The basic syntax for the NetIQMapiMail.exe program is:
NetIQMapiMail -tRecipients [-sSubject] [-mMessage] [-pProfile] [-wPassword] [-fAttachmentPath]
Use quotation marks around the entire parameter string if any information you specify contains blank spaces. For example, if you are specifying the subject line and using spaces between words, you would enclose the entire string in quotation marks similar to this:
NetIQMapiMail -tsmith@xyz.com -s"This is a test mail message"
The program supports the following options:
Option |
Description |
---|---|
-t Recipients |
Specifies the e-mail address of each individual you want to receive the report, using the format in the address book. To specify more than one address, separate each name with a semicolon (;). For example: -t"Chris Lin;pat_conner@bigcorp.com" |
-s Subject |
Specifies the text to use in the Subject line of the mail message. |
-m Message |
Specifies the body of the mail message. |
-p Profile |
Specifies the MAPI client profile name to use for sending the message. |
-w Password |
Specifies the password for the client profile you are using. |
-f AttachmentPath |
Specifies the full path to the file you want attached to the mail message. |