http://www.perlmonks.org?node_id=1086015


in reply to Sending email with attachments using Email::Mime

Try to use

use Email::MIME::Creator;

instead of

use Email::MIME;

(not tested, just had a look at the module's page).

Replies are listed 'Best First'.
Re^2: Sending email with attachments using Email::Mime
by McA (Priest) on May 14, 2014 at 12:01 UTC

    Hi,

    may I add Email::Stuffer.

    Is a wrapper around Email::MIME from the same author and for common cases very easy.

    Regards
    McA

    (Recommendation based on own usage ;-) )

      Thanks McA. I did read the message on cpan within Email::Mime to use Email::Stuffer. The problem was I could not install Stuffer. I have now managed to install Stuffer now and got it working. So much easier.