Whenever OpenVMS MAIL is used to send a MIME encoded file, if the
address in not a TCP/IP mail address, MAIL will add an extra blank
line between it's mail headers and the message. This is standard
for OpenVMS MAIL to separate its mail headers from the message.
Consequently, this blank line may pose a problem to most MIME
capable applications because it separates the MIME headers as well.
However, if a TCP/IP mail address is used, the TCP/IP for OpenVMS
SMTP service will send the MIME encoded mail with the properly
formatted (RFC822) mail message and MIME headers. A blank line
will properly separate the mail/MIME headers from the message body.
An alternative is to use the DCL command line to send the mail, (e.g.):
$ MAIL/NOSELF MimeFile.TXT smtp%"user@domain.com" /subject="Sending MIME"
Note that using SMTP for MIME mail requires TCP/IP Services for OpenVMS
5.0A + an SMTP patch or a later version.
There are other problems with SMTP HEADER position that can affect
MIME mail, please see Restrictions section for further information.
Additional Information:
explode
extract