I think the fact that I don't have a mailserver would do it. Unless the PHP home edition 2 bundle has a mailserver, I don't have one. Where can I get one of those? Can I get it for free? Rick ----- Original Message ----- From: "Jason Wong" <php-db@gremlins.biz> To: <php-db@lists.php.net> Sent: Friday, March 21, 2003 10:41 PM Subject: Re: mail() function > On Saturday 22 March 2003 16:38, Rick Dahl wrote: > > I can't get it to work. I get the echo to show up but never receive a > > email. > > > > > > if($blankpostage) { > > $to = "Rick Dahl <dmbserver@hotmail.com>"; > > $subject = "Online B+P Request"; > > $body = "Show ID = " . $id; > > mail($to, $subject, $body); > > echo "sadflkjaflkasdj"; > > } > > 1) Check that php.ini is correctly configured > > 2) Check the php error log > > 3) Check your mailserver log > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-db > ------------------------------------------ > /* > You can learn many things from children. How much patience you have, > for instance. > -- Franklin P. Jones > */ > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php