I am trying to send the contents of an html form. Everything works great up until I try to mail the contents.
<?php
$page_title = 'Post Sent ~ Thank You!';
$SESSION['pword'] = $POST['pword'];
$SESSION['fEntry'] = $POST['fEntry'];
$SESSION['memname'] = $POST['memname'];
$SESSION['topic'] = $POST['topic'];
$SESSION['post_date'] = $POST['post_date'];
include ('./SAOAheader.inc');
$message = "Poster's Name: {$SESSION['memname']} \n\nDate: {$SESSION['post_date']} \n\nTopic: {$_SESSION['topic']}";
$message = $message . "\n\nPost Entry: {$_SESSION['fEntry']}";
mail("myemail@sbcglobal.net" , "SAOA Post" , $message, "SAOA Website");
?>
The message will not send to my sbcglobal.net email or an alternate email I have. Does anyone see anything here that would keep this from mailing? The only think that I can think of is a SPAM filter is catching the message.
Any help is appreciated greatly!
Thanks!