Thread subject: muscapaul's PHP-Fusion website :: Newsletter - Define senders name hardcoded

Posted by illuminator on 04-03-2009 05:21
#1

Hi my friends,

i use the newsletter panel in the latest version. Just short question. It's possible to define a "hardcoded" senders name in the sendmail_include.php ?

**************************************************************
$email_to = $to_name." <".$to_email.">";
$headers = "From: ".$from_name." <".$from_email.">\n";
$headers .= "Reply-To: ".$from_name." <".$from_email.">\n";
$headers .= "X-Sender: <".$from_email.">\n";
$headers .= "X-Mailer: PHP-Mail\n";
$headers .= "X-MimeOLE: Produced By PHP-Fusion 6\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "MIME-Version: 1.0\n";
**************************************************************

Maybe change the bold values to a name what i want (?)

Thanks a lot

Kind Regards

illu

Posted by muscapaul on 04-03-2009 12:49
#2

$headers = "From: Your Name <".$from_email.">\n";
$headers .= "Reply-To: Your Name <".$from_email.">\n";

... will do just as nicely.

Posted by illuminator on 07-03-2009 00:58
#3

Nice one, thx mate :)