RE: [PHP] Sendmail and php4
| From: | Lawrence dot Sheed at dfait-maeci dot gc dot ca | Date: | Tue, 21 Nov 2000 06:48:30 +0000 |
| Subject: | RE: [PHP] Sendmail and php4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26402@lists.php.net to get a copy of this message | ||
Have a look at the error - server_domain.comr does not resolve - that means
that the mail server is set to refuse mail from senders with domain names
that don't resolve to an ip address
<nobody@server_domain.comr>... Sender domain must resolve
This isn't a php problem, its your mail server configuration.
Its set that way to stop invalid senders.
Try sending with a correct return address.
eg
$email="nobody@yahoo.es";
mail ("any@any_domain.com", "A$sesion_id", "$mensaje", "From:
$email\nReply-To: $email\nX-Mailer: PHP/" . phpversion());
Cheers,
Lawrence.
-----Original Message-----
From: Maximiliano Bubenick [mailto:bubephp@yahoo.es]
Sent: November 17, 2000 07:13 AM
To: php-general@lists.php.net
Subject: [PHP] Sendmail and php4
Hi:
I'm trying to send an email whit this function:
mail ("any@any_domain.com", "A$sesion_id", "$mensaje", "From:
$email\nReply-To: $email\nX-Mailer: PHP/" . phpversion());
and the maillog write this
Nov 16 19:58:57 av sendmail[6132]: TAA06130: to=any@any_domain.com,
ctladdr=nobody (99/99), delay=00:00:01, xdelay=00:00:01, mailer=esmtp,
relay=mailer2.prima.com.ar. [220.41.0.124], stat=Deferred: 451
<nobody@server_domain.comr>... Sender domain must resolve
how can I resolv this problem?
Thanks