Manual:$wgNoReplyAddress/zh

From Linux Web Expert

<translate> Email settings</translate>: $wgNoReplyAddress
Reply-to address for automatically generated emails.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(电子邮件地址)
<translate> Default value:</translate>参见下方

详情

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版本:
<translate> ≥</translate> 1.27
/**
 * Reply-To address for email notifications.
 *
 * Defaults to $wgPasswordSender.
 */
$wgNoReplyAddress = false;
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.26</tvar> is unsupported version</translate>">
1.5 – 1.26
<translate> MediaWiki versions:</translate>
/**
 * 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';