FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » sending email
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
sending email [message #174874] Fri, 15 July 2011 04:33 Go to previous message
cerr is currently offline  cerr
Messages: 33
Registered: September 2010
Karma:
Member
Hi There,

I wrote following test script:
<?php
$to = "myself(at)gmail(dot)com";
$subject = "Test";
$body = "This is a test!";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!<br><FORM><INPUT TYPE=\"button\" VALUE=\"Back\" onClick=\"history.go(-1);return true;\"></FORM></p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
and i get Message successfully sent! but no email ever arrives in my inbox, why not? What am i dong wrong?

Thank you!
Ron
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restricting access to a website
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:09:09 GMT 2024

Total time taken to generate the page: 0.06186 seconds