![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
| 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] |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |