mail() function error: (SMTP server response: 501 5.5.4 Invalid Address)

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]: ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2008
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?
Reply With Quote
  #2 (permalink)  
Old 05-11-2008
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
==================

Reply With Quote
  #3 (permalink)  
Old 05-12-2008
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]
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

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



All times are GMT +1. The time now is 05:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0