You need to use the MAPISEND.EXE utility that is supplied with the Exchange Resource kit. The component you are interested in is the admin part.
Copy the MAPISEND.EXE from the restored path (i386\admin\mapisend) to an area of your choice. The usage is simple as long as the exchange client is installed on the computer already (outlook is also OK).
mapisend -u "" -p -r -s "" -t
e.g. mapisend -u "john savill" -p anything -r john@savilltech.com -s "Test message" -t c:\message\mail4.txt
This is just an example usage, and you may not be sure what you profile name is so instead of using -u and -p, use just -i and this allows interactive login and will also allowyou to create a profile which you can then use in future. The full list of switches are
-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, this is ignored if -t is specified
-t Specifies text file for contents of themail message
-f Path and file name(s) to attach to message
-v Generates an 8 line summary of the sent message
In all cases if the passing parameter is more than one word it should be enclosed in quotes.