in reply to How to send email using Email::MIME & Email::Sender::Simple?
Your code looks pretty much like what the documentation of Email::Sender says to do. I am confused however about the line my $mime_entity = $message->cast('Email::MIME');, where did you get that from, and what happens when you remove that line? Also, note how the Email::MIME documentation starts with:
Wait! Before you read this, maybe you just need Email::Stuffer, which is a much easier-to-use tool for building simple email messages that might have attachments or both plain text and HTML.
Update: Also, have you made sure you have the newest versions of all of those modules?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to send email using Email::MIME & Email::Sender::Simple?
by Magkumar (Novice) on May 03, 2020 at 14:28 UTC |