MAPISEND.EXE
Mapisend.exe is avaialable in the
BORK.
Get the BORK and review the documentation for MAPISEND.exe. You'll need to follow the instructions there to properly configure the system to support the utility.
As you can see below, the tool is quite small:
C:\BORK\Exchange>dir mapisend.exe
Volume in drive C has no label.
Volume Serial Number is CC15-AF61
Directory of C:\BORK\Exchange
04/16/97 12:00a 13,584 MAPISEND.EXE
1 File(s) 13,584 bytes
892,027,392 bytes free
And the tool is reasonably flexible if you can get all the switches to work for you.
I'll have to admidt to some difficulty when specifying multiple recipients and when
specifying even one recipient in the cc list. Everything else seems to be as advertised.
C:\BORK\Exchange>mapisend.exe
Send MAPI messages from Win32 command line.
Usage: mapisend -u -p -i -r [-c][-s][-m][-t][-f][-v][-?]
Where...
-u profile name (user mailbox) of sender
-p login password
-i interactive login (prompts for profile and password)
-r recipient(s) (multiples must be separated by ';' and
must not be ambiguous in default address book.)
-c specifies mail copy list (cc: list)
-s subject line
-m specifies contents of the mail message
-t specifies text file for contents of the mail message
-f path and file name(s) to attach to message
-v generates verbose output
-? prints this message
C:\BORK\Exchange>
lightweight mail subsystem