From 60083834f802456382ffc63f0c908db3e2676feb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 18 Mar 2024 11:57:08 +0000 Subject: Improve sending email. - Use consistent line endings as expected by the email spec. - Don't require admins to escape . at the start of lines. - Log the reason why sending email fails. --- include/mail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/mail.h b/include/mail.h index eeacd3842..b9bc1509b 100644 --- a/include/mail.h +++ b/include/mail.h @@ -26,6 +26,7 @@ namespace Mail : public Thread { private: + Anope::string error; Anope::string sendmail_path; Anope::string send_from; Anope::string mail_to; @@ -35,7 +36,6 @@ namespace Mail Anope::string content_type; bool dont_quote_addresses; - bool success = false; public: /** Construct this message. Once constructed call Thread::Start to launch the mail sending. * @param sf Config->SendFrom -- cgit