![]() Until it does, the easiest way achieve this is with the first solution I posted - using Email::Stuffer (which is an abstraction to a complicated MIME::Email) and Email::Sender** (Simple and Transport::SMTPS) to create your own secure and authenticated SMTP transport. This would have been the perfect solution. Ideally, I wanted an “add-on” to MIME::Lite::HTML which simply did authentication and TLS. This really bothered me since I didn’t want to deal with any of this. What I noticed is that most used complicated headers/additional pieces of info. ![]() Again, the problem is how do you do this in a simple/elegant way? If you relay it via something like Amazon’s AWS SES service - it ends up breaking the HTML. If you relay it via something like postfix, it mostly works. ![]() For HTML stuff it produces mixed results. My $transport = Email::Sender::Transport::SMTPS->new() My $email = Email::Stuffer->from($from_email)->to($to_email)->subject($subject)->html_body($html)->email # The "->email" is key because it returns a Email::MIME object which is needed for the send # Create Email itself - hard part, in HTML use Email::Stuffer My ($from_email, $to_email, $subject, $url) = Pull HTML content down from URL
0 Comments
Leave a Reply. |