В входящем письме нету
FromName , только email пишет:
$to = $user->user_email;
$subject = $main_smarty->get_config_vars("PLIGG_PassEmail_Subject");
$body = "html mail";
$headers = 'From: ' . $main_smarty->get_config_vars("PLIGG_PassEmail_From") . "\r\n";
$headers .= "Content-type: text/html; charset=utf-8\r\n";
if(phpnum()>=5)
require("libs/class.phpmailer5.php");
else
require("libs/class.phpmailer4.php");
$mail = new PHPMailer();
$mail->From = $main_smarty->get_config_vars('PLIGG_PassEmail_From');
$mail->FromName = $main_smarty->get_config_vars('PLIGG_PassEmail_Name');
$mail->AddAddress($to);
$mail->AddReplyTo($main_smarty->get_config_vars('PLIGG_PassEmail_From'));
$mail->IsHTML(true);
$mail->Subject = $subject;
$mail->CharSet = 'utf-8';
$mail->MsgHTML( $body );
if (mail($to, $subject, $body, $headers))