• Resolved kanika

    (@kanikawordpresscom)


    Hi,

    I tried using the send-from plugin to change the send-from name. But from the contact-us form(which is customized), it still comes as message-noreply.

    The function called is in email.php where the code looks like:

    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "From: [email protected]\r\n";
    
    $headers .= "BCC:";
    $headers .= $emailBcc;
    $headers .= "\r\n";
    
    if(@mail($recipient, $subject, $mailBody, $headers))
    	{
    		return TRUE;
    	}
    	else
    	{
    		return FALSE;
    	}

    How can I change the From name?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘two different mails from the same sendmail’ is closed to new replies.