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