Error when using SMTP over SSL in CentOS 7
Environment
LemonLDAP::NG version: 2.0._ Operating system: CentOS 7
Summary
- Configure
SMTPTLS
=ssl
- Try to send an email => FAIL
Logs
[Thu Aug 27 14:44:10 2020] [LLNG:26153] [error] Send message failed: Can't locate Email/Sender/Transport/SMTPS.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Lemonldap/NG/Portal/Lib/SMTP.pm line 46.
Possible fixes
The Email::Sender lib provided with CentOS7 does not support SMTP + STARTTLS, or transmitting SMTPTLSOpts
- We need to wire Email::Sender correctly when SMTPTLS = ssl on CentOS7
- We need to warn the user in the manager when using a version of Email::Sender that does not support SMTPTLSOpts
Related to #2293 (closed)