ETOOBUSY 🚀 minimal blogging for the impatient
I’m using Email::Stuffer, not sure for how long I’ll do.
There’s little to say, Email::Stuffer is handy:
Email::Stuffer->from ('firstname.lastname@example.org' ) ->to ('email@example.com' ) ->bcc ('firstname.lastname@example.org' ) ->text_body($body ) ->attach_file('dead_bunbun_faked.gif' ) ->transport(SMTP => $opts ) ->send;
Alas, I’m not 100% sure I’ll continue to use it in the project I’m working on now, because of a little annoyance:
- it’s possible to set a
- it’s possible to attach files…
- it’s not possible to keep the text and the html body sufficiently apart when there are other attachments.
And yes, I need attachments.
So my dilemma now is either to delve into the module and propose something to remove this limitation, OR shift to the less slick Email::MIME. I’m tempted by the first, but I’ll probably settle for the second.