MAPISEND – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Send email from the command line.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Syntax MAPISEND -u "profile" -p password -r recipient -s "subject" -m text message [options] MAPISEND -u "profile" -p password -r recipient -s "subject" -t text_file [options] Options -i interactive login (prompts for profile and password) -c cc: list -f File Attachment - path and file name(s) -v generates verbose output (an 8 line summary of the message) "profile" is the profile name (user mailbox) of sender "subject" is the subject line "recipient" is one or more recipient(s) If more than one recipient - separate with ';' these must not be ambiguous in the default address book. |
Mapisend requires MAPI – i.e the MS Outlook client needs to be installed.
MAPI cannot be used to generate HTML-formatted messages. As an alternative, consider using the Microsoft Outlook Object Model, CDONTS, CDOSYS, CDOEX, or a third-party SMTP control.
1 2 3 4 5 6 |
Examples mapisend -u "MS Exchange Settings" -p MyPassword -r billg@sun.com -s "Subject" -m "Test message text" mapisend -u "MS Exchange Settings" -p MyPassword -r billg@hp.com -s "Subject" -t c:\MyMail.txt >> c:\mail.log |
Great web site you’ve got here.. It’s difficult to get high quality writing like yours nowadays.
I truly appreciate people such as you! Take care!!