Gossamer Forum
Home : General : Internet Technologies :

PHP mail() will not send to hotmail? how come?

Quote Reply
PHP mail() will not send to hotmail? how come?
Ive tried several hotmail addresses and ive tried several normal ISP addresses and nothing send to hotmail addresses but all messages goto normal addresses, does anyone know how to solve this problem?

This is the function im using.

mail( '"' . $emailto . '" <' . $emailto1 . '>',
$subject, $Body,
'Return-Path: "' . $From . '" <' . $From1 . ">\n"
. 'From: "' . $From . '" <' . $From1 . ">\n"
. 'Reply-To: "' . $From . '" <' . $From1 . ">\n"
. "MIME-Version: 1.0\n Content-Type: multipart/mixed;\nX-Mailer: PHP/" . phpversion() . "\n"
. "X-From-IP: " . $REMOTE_ADDR );
Quote Reply
Re: [WoSkI] PHP mail() will not send to hotmail? how come? In reply to
Try something like;

Code:
mail("$emailto <$emailto1>", $subject, $Body,
"From: $admin_email\r\n"
. "MIME-Version: 1.0\n Content-Type: multipart/mixed;\nX-Mailer: PHP/" . phpversion() . "\n"
."X-From-IP: " . $REMOTE_ADDR \r\n
."Reply-To: $admin_email\r\n");

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] PHP mail() will not send to hotmail? how come? In reply to
It's that just pretty much identical except you've neatened up the printing?

Why does that have a better chance of working?

Just interested.

Last edited by:

Paul: Jan 28, 2003, 4:24 AM
Quote Reply
Re: [Paul] PHP mail() will not send to hotmail? how come? In reply to
Eugh..I just wrote some long message about this ... and for some reason GForum's advanced editor just wiped it all Frown God darn it!

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] PHP mail() will not send to hotmail? how come? In reply to
ugh, I hate when that happens Pirate

openoffice + gimp + sketch ... Smile