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

Posted by Good Man on 11/26/06 21:34

"Kurda Yon" <kurdayon@yahoo.com> wrote in news:1164554494.863051.105600
@f16g2000cwb.googlegroups.com:

> 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?

start debugging, at the very least find out what is returned by $res

 

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

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