This is a discussion on mail() function error: (SMTP server response: 501 5.5.4 Invalid Address) within the PHP Language forums, part of the PHP Programming Forums category; I am calling the mail() function in a PHP script and I get the ff error: Warning: mail() [function.mail]: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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? |
|
|||
|
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 ================== |
|
|||
|
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] |