MAPISEND (Back Office/Exchange Resource kit)
MAPISEND is a small command-line utility designed to send messages (and attachments) via any MAPI (Messaging Application Programming Interface) compliant email system. It’s particularly useful for automating the process of emailing documents.
Syntax
MAPISEND -u "" -p
-r -s "" -m [options]
MAPISEND -u "" -p
-r -s "" -t [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 default address book
Mapisend requires MAPI - i.e the MS Outlook client needs to be installed.
A solution that avoids the need to install MS Outlook is to use SMTP e.g. BLAT or Postie
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
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.