Jump to content

手册:$wgNoReplyAddress

From mediawiki.org
This page is a translated version of the page Manual:$wgNoReplyAddress and the translation is 45% complete.
电子邮件设置: $wgNoReplyAddress
Reply-to address for automatically generated emails.
引进版本:1.5.0
移除版本:仍在使用
允许的值:(电子邮件地址)
默认值:参见下方

详情

This address is used for the Reply-To: header of automatically generated emails. Any email replies will be sent to this address. It needs to be a correctly formatted email address, but it doesn't need to be real in any way.

Despite the name of the setting, this doesn't have to be a "no-reply" type address; however if you set it to a valid address, a lot of rubbish will get sent there, such as vacation auto-replies.

If you do wish to receive replies to automatically generated messages, you can set it equal to the $wgEmergencyContact address, e.g.

$wgNoReplyAddress = $wgEmergencyContact;

默认值

MediaWiki版本:
1.27
/**
 * Reply-To address for email notifications.
 *
 * Defaults to $wgPasswordSender.
 */
$wgNoReplyAddress = false;
MediaWiki版本:
1.5 – 1.26
/**
 * Dummy address which should be accepted during mail send action.
 * It might be necessary to adapt the address or to set it equal
 * to the $wgEmergencyContact address.
 */
$wgNoReplyAddress = 'reply@not.possible';