View Full Version : using mail() function on micro$oft server

06-30-2005, 10:07 PM
When using mail() to send an email on a unix server the structure is:

$headers = "From: Sweenster <sweenster@sweenster.co.uk>\n";

However, this doesnt work on a Micro$oft server - you cant send a name only the email address

$headers = "From: sweenster@sweenster.co.uk\n";

is there anyway to get the M$ server to send a from name as well as the address?

07-01-2005, 02:01 AM
Configure your smtp server from php.ini