|
Posted by Jerry Stuckle on 11/27/06 03:20
Gordon Burditt wrote:
>>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);
>
>
> The domain example.com has no MX records and no mail server running
> on the host pointed at by the A record. This is more than sufficient
> to drop any mail claiming to be from example.com as SPAM.
>
> What mail server are you using to send the mail? (Examine your settings
> or the default ones and make sure they are appropriate.) Local sendmail?
> Look at its logs. Did a message come in at all?
>
>
>>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?
>
>
Gordon,
I suspect he was doing exactly as recommended - using example.com when
posting an example, instead of a real email address which could be
harvested by spammers.
I do exactly the same thing when posting code. That's what example.com
is reserved for.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|