The mapimail command uses the MSMapi32 ActiveX COM object to send mail to specified recipient s. For this command to work, Windows Messaging must be installed on your system. For details on installing Windows Messaging , see your system documentation.
Options -a attachment specifies an attachment to be included with the mail message.
If neither this option nor the -t text option are specified, mapimail reads the body of the message from standard input. Normally, GUI dialog boxes appear when necessary parameters are missing. If neither this option nor the -f file option are specified, mapimail reads the body of the message from standard input. An error occurred. This command is actually implemented as a MKS KornShell script with embedded perl code.