SMFHacks.com

Newsletter Pro => Support => Topic started by: endomorph on November 28, 2010, 02:29:10 pm

Title: Were do I set/edit the email address newsletters come from ?
Post by: endomorph on November 28, 2010, 02:29:10 pm
Were do I set/edit the email address newsletters come from ?
Title: Re: Were do I set/edit the email address newsletters come from ?
Post by: SMFHacks on November 28, 2010, 02:41:32 pm
Currently that is set by the Webmaster Email that is found under Server Settings.
Title: Re: Were do I set/edit the email address newsletters come from ?
Post by: endomorph on November 28, 2010, 03:30:06 pm
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
Title: Re: Were do I set/edit the email address newsletters come from ?
Post by: SMFHacks on November 28, 2010, 03:48:27 pm
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.

Code: [Select]
$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;