summaryrefslogtreecommitdiff
path: root/include/mail.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-01-23 19:22:38 +0000
committerSadie Powell <sadie@witchery.services>2025-01-23 19:23:32 +0000
commita8eda0676d722a7a7fbcbe8620245ee69bb431a1 (patch)
tree3b3d9366da3fc7b4fd6d959cd2f10f3e21dfc768 /include/mail.h
parentda7f47c1c7f73eee3e53c8ad253b9a72a3fff60b (diff)
Backport logging the reason sending email failed to the 2.0 branch.
Closes #463.
Diffstat (limited to 'include/mail.h')
-rw-r--r--include/mail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mail.h b/include/mail.h
index 811a1fa69..347f3bc5b 100644
--- a/include/mail.h
+++ b/include/mail.h
@@ -26,6 +26,7 @@ namespace Mail
class Message : 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;
public:
/** Construct this message. Once constructed call Thread::Start to launch the mail sending.
* @param sf Config->SendFrom