From nathan at nkent.us Wed Dec 9 15:23:58 2020 From: nathan at nkent.us (Nathan Kennedy) Date: Wed, 9 Dec 2020 15:23:58 -0800 Subject: [freeside-devel] Missing use Email::Sender::Transport::SMTP::TLS for message templates Message-ID: <9f03f3af-5e52-a964-6142-e935c9785e50@nkent.us> 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