summaryrefslogtreecommitdiff
path: root/src/mail.cpp
AgeCommit message (Collapse)Author
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-03-15Fix sending emails to nicks ending with a backslash.Sadie Powell
2024-02-17Update the copyright headers for 2024.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-31Update the copyright headers for 2023.Sadie Powell
2022-01-09Use utf-8 encoding for outgoing email (#286)k4bek4be
2022-01-06Update the copyright headers for 2022.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
2011-03-05Removed nickrequests, instead have unconfirmed registrations. Also made ↵Adam
ns_resetpass allow remote-id to get past things such as kill immed.
2011-02-04Moved the language strings which are only used onceAdam
out of the core and into the modules that use them.
2010-10-22Fixed some Windows problemsAdam
2010-10-21Changed the log:normal config directive to a list like the other log values, ↵Adam
and fixed a potential crash from rehashing while sending mail
2010-10-01Rewrote some of the socket code to allow m_ssl to be a service.Adam
This allows modules (xmlrpc) to create and accept SSL connections. Also fixed unloading m_mysql at certain times and made the threading engine always work correctly on Windows.
2010-09-26Changed the language system to use gettextAdam
2010-09-10Added Anope::CurTime to keep us from calling time() everywhereAdam
2010-08-27Added a new logging systemAdam
2010-08-27Added an Anope::string::is_pos_number_only function to use everywhere we ↵Adam
convertTo unsigned values, and fixed the mail delay error message to give the correct time.
2010-08-17Rewrote the config reader to better handle invalid configs.Adam
This prevents Anope from exploding when /os reload has errors.
2010-07-25Epic commit to replace most of the strings in Anope with a single ↵Naram Qashat
Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Rewrote the mail system to use threadingAdam