Jump to content

Small mail problem


forumnz

Recommended Posts

Hey,

 

I am using the mail function to send an email from my site. If I have the email address in the From: part, then it says in the email that it's from "[email protected]".

However I want it to say that the message is from "John Doe [[email protected]]" (as displayed in Outlook).

 

How do I achieve that?

 

At the moment I have:

	$headers  = "From: John  Doe [[email protected]]\r\n";

 

Which returns:

User Joen Doe [[email protected]]

 

Please help,

Thanks,

Sam.

Link to comment
https://forums.phpfreaks.com/topic/87655-small-mail-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.