[freeside-devel] Missing use Email::Sender::Transport::SMTP::TLS for message templates

Nathan Kennedy nathan at nkent.us
Wed Dec 9 15:23:58 PST 2020


Good Afternoon,

I am not sure where or when this got introduced but if the smtp 
configuration uses STARTTLS for sending emails it causes an error when 
sending an email using FS/msg_template/email.pm.

I saw that Email::Sender::Transport::SMTP::TLS is being deprecated and 
formed into another package but FS/msg_template/email.pm has references 
to Email::Sender::Transport::SMTP::TLS for sending email but no use 
statement.

As a fix I made sure the debian package was held so it would not be 
removed and added the following to the top of FS/msg_template/email.pm 
in the #needed to send email section:

use Email::Sender::Transport::SMTP::TLS;

Cheers,

-- 
Nathan Kennedy
Nathan Kennedy Enterprises
https://www.nkent.us/
(360) 637-1090



More information about the freeside-devel mailing list