Announcement

Collapse
No announcement yet.

PHP SMTP error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP SMTP error

    I get this error when my website tries to send an email via PHP.

    Ran into problems sending Mail. Response: 503 AUTH command used when not advertised

    DEBUG MODE

    Line : 125
    File : C:\xampp\htdocs\phpBB2\includes\smtp.php
    The relevent section from my smtp.php is:
    fputs($socket, "AUTH LOGIN\r\n");
    server_parse($socket, "334", __LINE__);
    Any ideas?
    The Welsh support two teams when it comes to rugby. Wales of course, and anyone else playing England

  • #2
    the rest of my smtp.php is not modified from the original in any way...
    The Welsh support two teams when it comes to rugby. Wales of course, and anyone else playing England

    Comment


    • #3
      Sounds to me like the mail server doesn't support the "AUTH" extension, or something in the SMTP hello didn't enable it. (This comes from the "AUTH used when not advertised" error)

      Try changing "AUTH LOGIN" to "LOGIN"

      - Steve

      Comment


      • #4
        Response: 500 unrecognized command
        The Welsh support two teams when it comes to rugby. Wales of course, and anyone else playing England

        Comment


        • #5
          why not just set the relaying to localhost only on the mail server and for get the login? Mail and web servers are the same box correct?


          Jeff
          -We stop learning when We die, and some
          people just don't know They're dead yet!

          Member of the COC!
          Minister of Confused Knightly Defence (MCKD)

          Food for thought...
          - Remember when naps were a bad thing?
          - Remember 3 is the magic number....

          Comment


          • #6
            nope, webserver is local.
            I can setup a SMTP server if I need to , but I have had this working...
            The Welsh support two teams when it comes to rugby. Wales of course, and anyone else playing England

            Comment

            Working...
            X