This FAQ is designed to answer common questions about sending e-mail from MVS.
What are my options for sending e-mail from MVS?
What is SMTP? What is its purpose?
What is RFC822?
What is MIME and why is it important?
What does a SMTP data stream consist of?
How can I send attachments?
How can I send attachments?
SMTPNOTE can' t send attachments. Sending of attachments requires the data to be encoded so that the binary data can be transmitted across the network using the text-only SMTP protocols. The data itself must be encoded and MIME used to describe the attachment so that it can be recognized at the receiving end.
SMTP-Send can send attachments as can XMITIP.
To do it yourself, you need to encode the attachment (base 64 encoding is the most popular choice) and provide the necessary MIME headers to describe the attachment