Mail function problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Has anyone had this problem before?  I have a web server that resides
on a windows platform (According to phpinfo()).  I used the php mail
function to send out a test message to make sure that the mail
function would work when needed.  I sent out the test message and I
didn't get an email sent to me.  This is what I did, I created the
following variables:

$to = "Paul.Goepfert@xxxxxxxxx";
$subject ="Test";
$message ="This is a test"
$headers = "From: Paul " .
                  "<Paul.Goepfert@xxxxxxxxx>\r\n";
$headers .= "X-Sender:  <Paul.Goepfert@xxxxxxxxx>\r\n";
$headers .="X-Mailer: PHP\r\n";
$headers .="Return-Path: <Paul.Goepfert@xxxxxxxxx>\r\n";

I put them in the mail function as parameters
mail($to,$subject,$message,$headers).


Ok now this is what is found in phpinfo():

sendmail_from no value no value
sendmail_path no value no value
SMTP             no value no value
smtp_port        25           25

Do these values need to be set?  if so, how do that on a remote
server?  I don't think I have access to the httpd config file or
php.ini file.

Thanks
Paul

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux