Syntactic Confectionery Delight | |
PerlMonks |
Alternative to Email::Senderby Anonymous Monk |
on Feb 15, 2018 at 14:14 UTC ( [id://1209222]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hello monks I need to send (SMTP) an email from a perl script packed in an exe. I've been able to achieve my goal with Email::Sender and the code below. However, I have problems in packaging it using ActivePerl/PerlApp since - no matter how many tricks I use (manually adding modules, etc.) - I end up missing the module Email::Sender::Role::CommonSending (Error: Can't locate Email/Sender/Role/CommonSending.pm in @INC). It is installed, it is scanned by PerlApp (added manually)... but the exe is missing it. The second script throughs error, but it doesn't say what is wrong. Now I am searching for an alternative to the modules Email::Sender and Email::Send::SMTP::Gmail. What can you suggest? This is the code I can not pack in exe(I can not switch to pp, sorry)
This is the code with Email::Send::SMTP::Gmail which I can pack but it doesn't work stable for me (error is printed out but $error is empty , so I cannot understand what is wrong)
What are good alternatives (and possibly easy to use)? Thank
Back to
Seekers of Perl Wisdom
|
|