try doing a trim($email) to remove any whitespace, just in case
 
bastien> Date: Wed, 22 Aug 2007 08:27:36 -0400> From: [EMAIL PROTECTED]> To: 
[EMAIL PROTECTED]> CC: php-general@lists.php.net> Subject: Re: [PHP] mail() 
issue> > The "." (period) is simply the end of my sentance in the email.> > The 
"From" address is specified in the php.ini and is fully qualified.> > If I hard 
code the value of $to into the mail function it works fine.> > $user_email = 
[EMAIL PROTECTED]> $to = [EMAIL PROTECTED]> > mail($to, $subject, $message); = 
PHP Warning: mail() [function.mail]: SMTP> server response: 504 <br />: 
Recipient address rejected: need> fully-qualified address> > > On 8/22/07, Jay 
Blanchard <[EMAIL PROTECTED]> wrote:> >> > [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 [EMAIL PROTECTED]> > [/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.> >
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Reply via email to