You are here: Yahoo and PHP mail() « PHP Programming Language « IT news, forums, messages
Yahoo and PHP mail()

Posted by Lildog on 11/18/24 11:42

I recently signed up for a yahoo small business account and am having a
heck of a time getting mail() to work. My script returns the thank you
and apperas to run through but no mail is recieved and the error log is
spitting out error: unknown. Any ideas? I have reduced it down to just
trying to get a mail to go through. And so far Yahoo! has been
absolutely no help at all, just lied to me several times.

Thank you very much.

Lildog

<?php
ini_set ("sendmail_from","youraddress@somewhere.com");
$to = "youraddress@somewhere.com";
$youremail = "youraddress@somewhere.com";
$mailheaders = "From: $youremail\r\n";
$subject = "Your comments";
$strMessageBody =" testing this thing.";
mail($to, $subject, $strMessageBody, $mailheaders);
echo "<h2>Thank you</h2>";
phpinfo();
?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация