Update config/config.sample.php
Added three additional mail_smtp.. parameters. - mail_smtpdebug - enable debug messages to analyse SMTP problems. - mail_smtptimeout - set SMTP timeout which is set to 10s by default and this is sometimes to short especially if a malware/ spam scanner is used. - mail_smtpsecure - force secure SMTP connections.
This commit is contained in:
parent
df6ba6955d
commit
9c069530cb
|
@ -66,6 +66,9 @@ $CONFIG = array(
|
||||||
/* URL of the appstore to use, server should understand OCS */
|
/* URL of the appstore to use, server should understand OCS */
|
||||||
"appstoreurl" => "http://api.apps.owncloud.com/v1",
|
"appstoreurl" => "http://api.apps.owncloud.com/v1",
|
||||||
|
|
||||||
|
/* Enable SMTP class debugging */
|
||||||
|
"mail_smtpdebug" => false;
|
||||||
|
|
||||||
/* Mode to use for sending mail, can be sendmail, smtp, qmail or php, see PHPMailer docs */
|
/* Mode to use for sending mail, can be sendmail, smtp, qmail or php, see PHPMailer docs */
|
||||||
"mail_smtpmode" => "sendmail",
|
"mail_smtpmode" => "sendmail",
|
||||||
|
|
||||||
|
@ -75,6 +78,13 @@ $CONFIG = array(
|
||||||
/* Port to use for sending mail, depends on mail_smtpmode if this is used */
|
/* Port to use for sending mail, depends on mail_smtpmode if this is used */
|
||||||
"mail_smtpport" => 25,
|
"mail_smtpport" => 25,
|
||||||
|
|
||||||
|
/* SMTP server timeout in seconds for sending mail, depends on mail_smtpmode if this is used */
|
||||||
|
"mail_smtptimeout" => 10;
|
||||||
|
|
||||||
|
/* SMTP connection prefix or sending mail, depends on mail_smtpmode if this is used.
|
||||||
|
Can be '', ssl or tls */
|
||||||
|
"mail_smtpsecure" => '',
|
||||||
|
|
||||||
/* authentication needed to send mail, depends on mail_smtpmode if this is used
|
/* authentication needed to send mail, depends on mail_smtpmode if this is used
|
||||||
* (false = disable authentication)
|
* (false = disable authentication)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue