diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-18 11:57:08 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-18 12:34:34 +0000 |
commit | 60083834f802456382ffc63f0c908db3e2676feb (patch) | |
tree | f07b0cdf282812731c35cbaf45278d318ef6a70e /include | |
parent | 9ac4da0489ee70b2d18daca8c359b468ad28ed49 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/mail.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |