On Wed, Mar 1, 2017 at 2:54 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> MIME::Lite

That's the key- use MIME::Lite to build the headers and body of an email
that has an attachment. Then use Net::SMTP, either the perl5 or perl6
version, to send it.

SMTP knows nothing about attachments. MIME::Lite takes all the bits that
need to be packaged into a "rich" message and creates a long string, full
of headers and body,. that you can hand to an SMTP server to deliver.


Reply via email to