OPENVMS MAIL - need to send an email that has an Attachment AND an email body
Posted on 2010-11-30
I am able to send one file as Either an Attachment or as the body of the email. I need to use the MAIL utility to perform both in one email.
I want to send FILE.DOC as the attachment and TEXT.TXT as the body of the email.
right now -- I can't do both.
To send FILE.DOC as the attachment - I first UUENCODE it - then mail the UUENCODEd version:
mail DKD2:[EMAILLTRS]FILE.UUE "KMB2" /SUBJECT="MY SUBJECT"
To send it as the body of the text - I send the NON UUENCODEd (original) file:
mail DKD2:[EMAILLTRS]FILE.DOC "KMB2" /SUBJECT="MY SUBJECT"
(.DOC just an extension - the file would be an ASCII TEXT file)
Any idea how to send FILE.DOC as the attachment and a different file (TEXT.TXT) as the body of the email?