What is the format for e-mail headers that display a name rather than the e-mail?

beoca

New Member
I'm trying to create a php script that will handle a mailing list for me using a mySQL database, and I have most of it in place. Unfortunately, I can't seem to get the headers to work right, and I'm not sure what the problem is.\[code\]$headers='From: [email protected] \r\n';$headers.='Reply-To: [email protected]\r\n';$headers.='X-Mailer: PHP/' . phpversion().'\r\n';$headers.= 'MIME-Version: 1.0' . "\r\n";$headers.= 'Content-type: text/html; charset=iso-8859-1 \r\n';$headers.= "BCC: $emailList";\[/code\]The result I'm getting on the recieving end is:"noreply"@rilburskryler.net rnReply-To: [email protected]: PHP/5.2.13rnMIME-Version: 1.0
 
Back
Top