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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ronald Raygun

    #1

    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.ph p on line 394

    Relevant Info:

    OS: Win2k
    Web Server Apache: v2.2.8

    Has anyone come accross this before - and whats the solution?
  • Jerry Stuckle

    #2
    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.ph p 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@attgl obal.net
    =============== ===

    Comment

    • Rik Wasmus

      #3
      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.ph p 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]

      Comment

      Working...