RE: [PHP] mail() issue
| From: | Jay Blanchard | Date: | Wed, 22 Aug 2007 12:15:23 +0000 |
| Subject: | RE: [PHP] mail() issue | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261106@lists.php.net to get a copy of this message | ||
[snip]
PHP Warning: mail()
[function.mail<http://develop1/credit%20card%20processing/Submit/ChildSu
pport/function.mail>]:
SMTP server response: 504 <br />: Recipient address rejected: need
fully-qualified address.
The value of $user_email when it is echoed out above is user@domain.com.
[/snip]
Just a sanity check, does the e-mail address have that period at the end
of it when you echo it out? That would make the address non fully
qualified because the server is expecting a top level domain to follow.
Just for giggles check the FROM address as well, it needs a fully
qualified domain too.