SMFHacks.com
Newsletter Pro => Support => Topic started by: endomorph on November 28, 2010, 02:29:10 pm
-
Were do I set/edit the email address newsletters come from ?
-
Currently that is set by the Webmaster Email that is found under Server Settings.
-
Thanks. If I wanted to hard code something different, would it be easy enough ?
I want to set a noreply@xxxxxxxxxxx email address as I get so many bounced emails
-
I was just looking at the sendmail function of smf you can set the from parameter in the call but what it looks like it just sets the replyto not sure what it will do for bounces.
$headers = 'From: "' . $from_name . '" <' . (empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from']) . '>' . $line_break;
$headers .= $from !== null ? 'Reply-To: <' . $from . '>' . $line_break : '';
$headers .= 'Return-Path: ' . (empty($modSettings['mail_from']) ? $webmaster_email : $modSettings['mail_from']) . $line_break;