http://qs321.pair.com?node_id=1156810


in reply to Embedding images into HTML-emails as attachments

If you are willing to look past the warnings in the MIME::Lite documentation, MIME::Lite::HTML will read an HTML file, get/include the images, and transform the src attributes automatically. From documentation:

I've usually paired it with HTML::FormatText::WithLinks to generate a text version as well

Update: Looks like Email::MIME::CreateHTML is a modern replacement.

Good Day,
    Dean

Replies are listed 'Best First'.
Re^2: Embedding images into HTML-emails as attachments
by LanX (Saint) on Mar 04, 2016 at 13:48 UTC
    Thanks a lot, looks great! I'll check this out! =)

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!