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