mirror of
https://github.com/anope/anope.git
synced 2026-07-01 13:26:39 +02:00
Add a default value for sendmailpath.
This commit is contained in:
@@ -950,7 +950,7 @@ mail
|
||||
* If you are running on Windows you should use a Windows sendmail port
|
||||
* like https://www.glob.com.au/sendmail/ for sending emails.
|
||||
*/
|
||||
sendmailpath = "/usr/sbin/sendmail -it"
|
||||
#sendmailpath = "/usr/sbin/sendmail -it"
|
||||
|
||||
/*
|
||||
* This is the email address from which all the emails are to be sent from.
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
||||
Mail::Message::Message(const Anope::string &sf, const Anope::string &mailto, const Anope::string &a, const Anope::string &s, const Anope::string &m)
|
||||
: Thread()
|
||||
, sendmail_path(Config->GetBlock("mail")->Get<const Anope::string>("sendmailpath"))
|
||||
, sendmail_path(Config->GetBlock("mail")->Get<const Anope::string>("sendmailpath", "/usr/sbin/sendmail -it"))
|
||||
, send_from(sf)
|
||||
, mail_to(mailto)
|
||||
, addr(a)
|
||||
|
||||
Reference in New Issue
Block a user