DokuWiki

It's better when it's simple

User Tools

Site Tools


config:mailfrom

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Both sides next revision
config:mailfrom [2016-11-26 22:21]
222.69.214.32
config:mailfrom [2020-09-03 19:44] (current)
Aleksandr
Line 1: Line 1:
 ====== Configuration Setting: mailfrom ====== ====== Configuration Setting: mailfrom ======
  
-This address will be used as sender address for all mails which are sent through [[:DokuWiki]]. Make sure your Mailserver accepts the address you supply here. If you leave this empty the default PHP address will be used (usually webserveruser@webserverhostname)+This address will be used as sender address for all mails which are sent through [[:DokuWiki]]. Make sure your Mailserver accepts the address you supply here. If you leave this empty the default PHP address will be used (usually ''webserveruser@webserverhostname'')
  
   * Type: String   * Type: String
Line 8: Line 8:
 The following variables could be used inside the string to make it dynamic: ''@NAME@'', ''@USER@'', ''@MAIL@''. The placeholders are replaced with the values of the currently logged in user (eg. the one who made the change a notify mail is about to being sent). Note that this is only recommended in a wiki where no anonymous edits can be made. The following variables could be used inside the string to make it dynamic: ''@NAME@'', ''@USER@'', ''@MAIL@''. The placeholders are replaced with the values of the currently logged in user (eg. the one who made the change a notify mail is about to being sent). Note that this is only recommended in a wiki where no anonymous edits can be made.
  
-Examples((Installations running on Windows systems only accepts the first example - [[http://php.net/manual/en/function.mail.php|PHP.net - Mail]] - Section "Notes".))(([[https://github.com/splitbrain/dokuwiki/blob/master/inc/Mailer.class.php#L335|Mailer.class.php - Line 335]])):+Examples((Installations running on Windows systems only accepts the first example -- [[https://www.php.net/manual/en/function.mail.php#refsect1-function.mail-notes|PHP.net - Mail]] -- Section "Notes".))(([[https://github.com/splitbrain/dokuwiki/blob/master/inc/Mailer.class.php#L335|Mailer.class.php - Line 335]])):
   $conf['mailfrom'   = 'noreply@mydomain.tld';   $conf['mailfrom'   = 'noreply@mydomain.tld';
   $conf['mailfrom'   = '"@NAME@" <@USER@@mydomain.tld>';   $conf['mailfrom'   = '"@NAME@" <@USER@@mydomain.tld>';
config/mailfrom.1480195283.txt.gz ยท Last modified: 2016-11-26 22:21 by 222.69.214.32