|
Posted by Kevin Raleigh on 05/27/07 00:46
I am just starting out and working with a tutorial on php mail
I used this to send mail but didn't receive anything in my mail
Sould I be looking to setup something in PHP 5.0 to fix this problem?
<?php
$file_loc = "mydata.txt";
$whattoread = fopen($file_loc, "r");
$file_contents = fread($whattoread, filesize($file_loc));
fclose($whattoread);
$mailheaders = "From: my web site <> ";
mail("kraleigh@sbcglobal.net", "File contents", $file_contents,
$mailheaders);
echo ("check your mail");
?>
insight always appreciated
Thank You
Kevin
Navigation:
[Reply to this message]
|