Garayed.com  

Go Back   Garayed.com > PHP
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-11-2008, 04:53 PM
Ronald Raygun
 
Posts: n/a
Default mail() function error: (SMTP server response: 501 5.5.4 Invalid Address)

I am calling the mail() function in a PHP script and I get the ff error:

Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid
Address in C:\test\test.php on line 394

Relevant Info:

OS: Win2k
Web Server Apache: v2.2.8

Has anyone come accross this before - and whats the solution?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2008, 08:01 PM
Jerry Stuckle
 
Posts: n/a
Default Re: mail() function error: (SMTP server response: 501 5.5.4 InvalidAddress)

Ronald Raygun wrote:
> I am calling the mail() function in a PHP script and I get the ff error:
>
> Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid
> Address in C:\test\test.php on line 394
>
> Relevant Info:
>
> OS: Win2k
> Web Server Apache: v2.2.8
>
> Has anyone come accross this before - and whats the solution?
>


It means your MTA has rejected the mail for some reason. You need to
find out what your MTA accepts and rejects.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-12-2008, 01:10 AM
Rik Wasmus
 
Posts: n/a
Default Re: mail() function error: (SMTP server response: 501 5.5.4 Invalid Address)

On Sun, 11 May 2008 18:53:57 +0200, Ronald Raygun <invalid@domain.com>
wrote:

> I am calling the mail() function in a PHP script and I get the ff error:
>
> Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid
> Address in C:\test\test.php on line 394


If I had to guess, either that server doesn't support the FROM / REPLY TO
address or the TO address. figure out which, and why, with the help of the
server admins of the particular SMTP server.
--
Rik Wasmus
[SPAM] Now temporarily looking for some smaller PHP/MySQL projects/work to
fund a self developed bigger project, mail me at rik at rwasmus.nl. [/SPAM]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:07 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.