You are here: Problems with the function "mail" of PHP. « PHP Programming Language « IT news, forums, messages
Problems with the function "mail" of PHP.

Posted by Kurda Yon on 11/26/06 15:21

Hi everybody,

I have a problem with the function "mail". It returns "true"
but supposed recipients receive nothing. My code is as follows:

$to = $form[address1];
$subject = "E-mail Verification";
$body = 'The first line\n';
$body .= 'The second line.';
$headers = 'From: webmaster@example.com';
$res = mail($to, $subject, $body, $headers);

I tried to send messages to two different e-mail addresses (to my yahoo
account and on my university one). No one mail-box got the message. I
also checked the bulk folder of the yahoo mail, it is also empty. Gould
you please help me to solve this problem?

 

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

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