Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2007
    Posts
    34
    Plugin Contributions
    0

    Default Email Error: SMTP Error: Could not connect to SMTP host.

    Hello. I'm currently upgrading my site to v3.1.9b. I've followed the upgrade instructions closely, and I'm nearly there... I've got v3.1.9b working in a test area, using a test database which is a copy of my regular database. Everything looks ok, but the email functionality does not work. Examples:

    1. When I try to make an order on the new shop, I can pay for the item, but then it fails when trying to email a confirmation. I get a simple white page with the message: Email Error: SMTP Error: Could not connect to SMTP host. However, the order is actually placed in the system, and payment is processed.

    2. When trying to email a customer using the "Send email" screen in the admin area, I get the same error (Email Error: SMTP Error: Could not connect to SMTP host.) when I click on the send button.

    3. When trying to send an email to Customer Services as a user from the site, I click on send, but DO NOT get an error message - the site simply informs me that my message has been sent. The email does not, however, arrive.

    I have the Email Archive Manager installed, and that logs that the emails have been sent (despite not actually sending).

    I have also tested sending emails from my regular pre-upgrade version of the shop (v 1.3.8), and that all works fine. When I compare the options in the Admin > Confirguation > Email Options screen, there are no differences between the 2.

    Finally, I have also compared the files in my 2 versions of the site, and can't see any missing files. I may of course have missed a line of code when copying my code changes to the new version, but it's rather like trying to find a needle in a haystack!

    Is anyone please able to help? I've been looking at this all day, and can't work out what's wrong!

    Many thanks
    Ru

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,762
    Plugin Contributions
    9

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    What are your settings for

    admin > config > email options??

    Code:
    E-Mail Transport Method 
    E-Mail Linefeeds
    Use MIME HTML When Sending Emails 
    Send E-Mails
    Email Archiving Active?
    E-Mail Friendly-Errors
    Email Address (Displayed to Contact you) 
    Email Address (sent FROM) 
    Emails must send from known domain? 
    Email Admin Format?
    Send Copy of Order Confirmation Emails To 
    Send Copy of Create Account Emails To - Status
    Send Copy of Create Account Emails To 
    Send Copy of Tell a Friend Emails To - Status 	
    Send Copy of Tell a Friend Emails To 	
    Send Copy of Customer GV Send Emails To - Status 
    Send Copy of Customer GV Send Emails To
    Send Copy of Admin GV Mail Emails To - Status 
    Send Copy of Customer Admin GV Mail Emails To 	 
    Send Copy of Admin Discount Coupon Mail Emails To - Status 
    Send Copy of Customer Admin Discount Coupon Mail Emails To 	
    Send Copy of Admin Orders Status Emails To - Status 	
    Send Copy of Admin Orders Status Emails To 	
    Send Notice of Pending Reviews Emails To - Status 
    Send Notice of Pending Reviews Emails To 
    Set "Contact Us" Email Dropdown List 
    Allow Guest To Tell A Friend 
    Contact Us - Show Store Name and Address 
    Send Low Stock Emails 	
    Send Low Stock Emails To 
    Display "Newsletter Unsubscribe" Link? 
    Audience-Select Count Display
    SMTP Email Account Mailbox 	YourEmailAccountNameHere 
    SMTP Email Account Password 	
    SMTP Email Mail Host 	mail.EnterYourDomain.com
    SMTP Email Mail Server Port 
    Convert currencies for Text emails
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2007
    Posts
    34
    Plugin Contributions
    0

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    E-Mail Transport Method smtpauth
    E-Mail Linefeeds LF
    Use MIME HTML When Sending Emails true
    Send E-Mails true
    Email Archiving Active? true
    E-Mail Friendly-Errors true
    Email Address (Displayed to Contact you) xxxxxxxxxxx
    Email Address (sent FROM) xxxxxxxxxxxxxxxx
    Emails must send from known domain? No
    Email Admin Format? HTML
    Send Copy of Order Confirmation Emails To xxxxxxxxx

    Send Copy of Create Account Emails To - Status 0
    Send Copy of Create Account Emails To xxxxxxxxxxx
    Send Copy of Tell a Friend Emails To - Status 0
    Send Copy of Tell a Friend Emails To xxxxxxxxxxx
    Send Copy of Customer GV Send Emails To - Status 0
    Send Copy of Customer GV Send Emails To xxxxxxxxxxxxx
    Send Copy of Admin GV Mail Emails To - Status 0
    Send Copy of Customer Admin GV Mail Emails To xxxxxxxxxxx
    Send Copy of Admin Discount Coupon Mail Emails To - Status 0
    Send Copy of Customer Admin Discount Coupon Mail Emails To xxxxxxxxxxxx
    Send Copy of Admin Orders Status Emails To - Status 0
    Send Copy of Admin Orders Status Emails To xxxxxxxxxxxx
    Send Notice of Pending Reviews Emails To - Status 0
    Send Notice of Pending Reviews Emails To xxxxxxxxxxxx
    Set "Contact Us" Email Dropdown List Customer Services <xxxxxxxxxxx>, Technical Support <xxxxxxxxxxxxxxx>
    Allow Guest To Tell A Friend false
    Contact Us - Show Store Name and Address 1
    Send Low Stock Emails 0
    Send Low Stock Emails To xxxxxxxxxxxxxx
    Display "Newsletter Unsubscribe" Link? true

    SMTP Email Mail Server Port 587
    Convert currencies for Text emails &pound;,:&euro;,€
    Send Notice of Newsletter-only Subscriptions To - Status 0
    Send Notice of Newsletter-only Subscriptions To
    Newsletter Test Group Email

    Note: xxxxxxxxxxx = fully functional email address

    Many thanks

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    and this part is filled in with valid information

    SMTP Email Account Mailbox YourEmailAccountNameHere
    SMTP Email Account Password
    SMTP Email Mail Host mail.EnterYourDomain.com
    SMTP Email Mail Server Port
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    May 2007
    Posts
    34
    Plugin Contributions
    0

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    Yes, it is correct information. It's exactly the same info that we have on our current live installation (v1.3.8). It's something on our v1.3.9b pages that doesn't work with email.

    As I said in my post above, it's possible that I copied any code modifications over incorrectly, but I was very meticulous (taking nearly a whole day just to check the coding and transfer any mods). I suspect that the Email Archive Manager might be to blame, but I've re-checked the code for that, and can't spot any code errors.

    I'm really stumped by this one, and would appreciate any help that anyone can offer.

    Many thanks

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    try installing a completely core fresh install of 1.3.9D in a subfolder and try the email settings there

    this will give you a clean comparison
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Dec 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    I have version 1.3.9D and am having the exact same issue as described above. The email configuration from my email host has not changed and none of the real-time logs are showing these emails to be blocked. What could be the problem?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    This problem just "suddenly" started?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Dec 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    It must have started since I upgraded from 1.3.8 about a week ago.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Email Error: SMTP Error: Could not connect to SMTP host.

    What are your settings in Admin->Configuration->Email Options ? (without password)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 30 May 2013, 05:57 PM
  2. Replies: 4
    Last Post: 18 Aug 2010, 11:46 AM
  3. Replies: 2
    Last Post: 20 Jul 2010, 04:40 PM
  4. Replies: 7
    Last Post: 8 Feb 2010, 01:14 PM
  5. Getting error <Email Error: SMTP Error: Could not connect to SMTP host.>
    By renishm in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 11 Apr 2009, 04:27 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