Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Sending emails using SMTPAUTH problem... on my own IIS server

    I've recently changed servers and moved my Zen Cart installation over. Almost everything is working fine (how it used to be), but I've had to change the email settings in my Zen Cart admin to connect to my new mail server.

    After changing these setting I attempted to send an email via admin>tools>send email. Zen Cart reported that this email was successfully sent. However, the email didn't arrive.

    I then turned on the debug mode for the email function within Zen Cart. It looks like the email was not sent to my mail server. I'm definetly using the same credentials as my Outlook setup and I've tested this email account within Outlook - everything works fine then!

    Below is the debug output from Zen Cart. I've change the email address and IP to dummy ones.

    ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 ac-ws2 Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Sun, 15 Jul 2007 10:45:45 +0100 " SMTP -> get_lines(): $data is "220 ac-ws2 Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Sun, 15 Jul 2007 10:45:45 +0100 " SMTP -> FROM SERVER: 220 ac-ws2 Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Sun, 15 Jul 2007 10:45:45 +0100 ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-ac-ws2 Hello [123.123.123.123] " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] " SMTP -> get_lines(): $str is "250-AUTH GSSAPI NTLM " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM " SMTP -> get_lines(): $str is "250-TURN " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN " SMTP -> get_lines(): $str is "250-SIZE 2097152 " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 " SMTP -> get_lines(): $str is "250-ETRN " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN " SMTP -> get_lines(): $str is "250-PIPELINING " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING " SMTP -> get_lines(): $str is "250-DSN " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN " SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $str is "250-8bitmime " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime " SMTP -> get_lines(): $str is "250-BINARYMIME " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME " SMTP -> get_lines(): $str is "250-CHUNKING " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING " SMTP -> get_lines(): $str is "250-VRFY " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY " ------------------- SMTP -> get_lines(): $data was "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY " SMTP -> get_lines(): $str is "250 OK " SMTP -> get_lines(): $data is "250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250 OK " SMTP -> FROM SERVER: 250-ac-ws2 Hello [123.123.123.123] 250-AUTH GSSAPI NTLM 250-TURN 250-SIZE 2097152 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250 OK ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "504 5.7.4 Unrecognized authentication type " SMTP -> get_lines(): $data is "504 5.7.4 Unrecognized authentication type " SMTP -> ERROR: AUTH not accepted from server: 504 5.7.4 Unrecognized authentication type ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 Resetting " SMTP -> get_lines(): $data is "250 2.0.0 Resetting " SMTP -> FROM SERVER: 250 2.0.0 Resetting ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.1.0 [email protected] OK " SMTP -> get_lines(): $data is "250 2.1.0 [email protected] OK " SMTP -> FROM SERVER: 250 2.1.0 [email protected] OK ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "550 5.7.1 Unable to relay for [email protected] " SMTP -> get_lines(): $data is "550 5.7.1 Unable to relay for [email protected] " SMTP -> FROM SERVER: 550 5.7.1 Unable to relay for [email protected] SMTP -> ERROR: RCPT not accepted from server: 550 5.7.1 Unable to relay for [email protected] ------------------- SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 Resetting " SMTP -> get_lines(): $data is "250 2.0.0 Resetting " SMTP -> FROM SERVER: 250 2.0.0 Resetting
    I'm running Windows Server 2003 (IIS 6) and, as previously mentioned, can send emails with no problems from Outlook.

    Anyone experienced a similar problem?

  2. #2
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Sending emails using SMTPAUTH problem...

    Ok, I appear to have fixed the problem.

    Maybe someone with IIS knowledge could advise me if my fix was 'safe' or not? Here is what I did...

    1 - From the IIS Manager selected the properties for Default SMTP Virtual Server.
    2 - Selected the Access tab and then clicked on the Relay button.
    3 - Added my Server IP address (not 127.0.0.1) to the list of allowed connections.
    4 - Clicked on the OK button and then the Apply button.

    I'm pretty sure it's 'safe' and my server won't be used for spam, but if someone else could comment on this that would be great.

    Thanks in advance.

  3. #3
    Join Date
    Dec 2003
    Location
    UPstate NY
    Posts
    440
    Plugin Contributions
    0

    help question Re: Sending emails using SMTPAUTH problem... on my own IIS server

    I think I may have the same problem you did...

    1. How and where did you turn on debugging for email??

    2. It seems like one's website must have its own static IP address, rather than any old IP used within a shared website hosting setup, correct??

    Thank you, Tom

  4. #4
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Sending emails using SMTPAUTH problem... on my own IIS server

    I'm can't recall how to enable email debugging... but I'm sure a quick search on the forum will tell you how.

    With regards to the IP setup, I just added the main IP address of my server to the Access list.

    I hope this helps!

 

 

Similar Threads

  1. Sending emails with SMTP server on Office365
    By AlexThibo in forum General Questions
    Replies: 6
    Last Post: 16 Apr 2014, 03:38 PM
  2. Problem sending emails and setting up the mail server
    By vvomble in forum Installing on a Windows Server
    Replies: 8
    Last Post: 18 Feb 2013, 10:29 PM
  3. v150 Sending multiple emails using zen_mail
    By retched in forum Contribution-Writing Guidelines
    Replies: 3
    Last Post: 2 Jun 2012, 10:17 PM
  4. Replies: 5
    Last Post: 8 Oct 2009, 07:50 AM
  5. Emails not sending anymore following physical server move
    By donplay in forum General Questions
    Replies: 5
    Last Post: 31 Oct 2007, 04:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR