There's more than one way to do things | |
PerlMonks |
Re^3: Network Unreachable issue while sending email using PERL (gmail)by 1nickt (Canon) |
on Oct 12, 2017 at 19:46 UTC ( [id://1201260]=note: print w/replies, xml ) | Need Help?? |
It's also a nice solution, one I have used in the past because you can wrap the Transport agent code in its own module so the credentials and whatnot are not exposed in the application code.
(Or create My::Email::Sender and wrap the whole thing ...)
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|