summaryrefslogtreecommitdiff
path: root/src/mail.cpp
AgeCommit message (Collapse)Author
2025-04-19Get rid of the internal block wrapper.Sadie Powell
This only existed for compatibility with old 2.0 modules and 2.1 has already broken compatibility with them.
2025-04-16Use a duration string when telling people to wait before emailing.Sadie Powell
2025-04-02Merge branch '2.0' into 2.1.Sadie Powell
2025-04-02Fix building on old versions of RHEL.Sadie Powell
2025-03-02Return references instead of pointers from the config system.Sadie Powell
We used to return NULL from these methods but now we return an empty block so this can never actually be null now.
2025-01-23Backport logging the reason sending email failed to the 2.0 branch.Sadie Powell
Closes #463.
2025-01-14Merge branch '2.0' into 2.1.Sadie Powell
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-10-12Zero errno before calling popen.Sadie Powell
2024-04-04Merge branch '2.0' into 2.1.Sadie Powell
2024-03-31Add a default value for sendmailpath.Sadie Powell
2024-03-18Improve sending email.Sadie Powell
- 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.
2024-03-15Fix sending emails to nicks ending with a backslash.Sadie Powell
2024-03-07Consistently use email instead of e-mail.Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2024-01-08Fix various format string issues.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-07-11Merge branch '2.0' into 2.1.Sadie Powell
2023-07-09Allow customising the email content type.Sadie Powell
This will allow people to send emails using HTML or non UTF-8 text.
2023-06-06Terminate lines with CR+LF instead of just LF when sending an email.Sadie Powell
From https://www.rfc-editor.org/rfc/rfc5321#section-2.3.1: > Lines consist of zero or more data characters terminated by the > sequence ASCII character "CR" (hex value 0D) followed immediately by > ASCII character "LF" (hex value 0A).
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-09Use utf-8 encoding for outgoing email (#286)k4bek4be
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-08-24Insert a new line between the subject and message body when sending mail.Robby
Required for RFC 2822 compliancy. Reported by jrmu via IRC.
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-08-01Use MessageSource as the source for many IRCDProto funcsAdam
Keep track of what user modes are oper only/server only/etc
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-29Made MailThread completely threadsafe, currently theres a race condition ↵Adam
with config reload + sending mail at once
2012-06-18Allow userless command sourcesAdam
2012-04-23Reworked live SQL support yet againAdam
2012-04-06Revert changes made to line endings.Viper
2012-04-06Revert last commit cause guess what, I screwed things upHal9000
2012-04-06Fixed mail function causing some MTAs to sent blank messagesHal9000
2012-02-14Clean up and reorganize our header filesAdam
2011-09-10Moved signal/thread/mode checking to use signal pipesAdam
2011-06-24Fixed mail delay timeAdam