Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Posts
    116
    Plugin Contributions
    0

    Default email set-up for SMTP TLS

    Hello
    I have tried to set up SMTP and SMTPAUTH with no luck. PHP and sendmail both work. I have been in contact with my host and they are saying that:

    "Our mail servers require TLS encrpytion to send. If your Zen Cart doesn't have this option then there will need to be some alternate mail method or plugin used to send mail."

    Anyone have any thoughts on how the SMTP or SMTPAUTH can be used? According to Zen-Cart recommended practice one or the other should be used for security.

    Or is sendmail or PHP sufficient?

    Thanks
    John

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: email set-up for SMTP TLS

    First set your Zen Cart to SMTPAUTH and provide it with your SMTP credentials.

    Then to tell Zen Cart to use TLS, put the following content into a new PHP file and upload it to 2 locations:
    1. /includes/extra_datafiles/use_tls_for_smtp.php
    2. /your_renamed_admin_foldername/includes/extra_datafiles/use_tls_for_smtp.php

    Code:
    <?php
    define('SMTPAUTH_EMAIL_PROTOCOL', 'tls');
    .

    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.

  3. #3
    Join Date
    Oct 2005
    Posts
    116
    Plugin Contributions
    0

    Default Re: email set-up for SMTP TLS

    Hi
    Still trying to work with my host

    I added:

    <?php
    define('SMTPAUTH_EMAIL_PROTOCOL', 'tls');
    ?>

    with a closing ?>

    but so far with or without the ?> I am not getting it to work. I will let you know if I hear more from my host

    Thanks
    John

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: email set-up for SMTP TLS

    The closing ?> is not necessary. http://www.zen-cart.com/content.php?...nd-of-the-file

    More information about your host's prerequisites would be helpful.
    .

    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.

  5. #5
    Join Date
    Oct 2005
    Posts
    116
    Plugin Contributions
    0

    Default Re: email set-up for SMTP TLS

    Thanks
    I did remember reading about the closing ?> now that you mention it.
    The host is going to go into my zen cart at look at the settings

    I'll post an update if it gets resolved
    Thank you
    John

  6. #6
    Join Date
    Oct 2005
    Posts
    116
    Plugin Contributions
    0

    Default Re: email set-up for SMTP TLS

    Well, the host went in and configured it to use Qmail and it works fine now. Not sure why the SMTP or SMTPAUTH didn't work
    John

 

 

Similar Threads

  1. Replies: 3
    Last Post: 22 Oct 2016, 02:46 PM
  2. enable SSL or TLS authentication for email
    By Thannaree in forum General Questions
    Replies: 2
    Last Post: 13 Apr 2012, 06:29 AM
  3. Replies: 2
    Last Post: 20 Jul 2010, 04:40 PM
  4. Email SMTP issues (needed 'smtpauth' instead of 'smtp')
    By petpromises in forum General Questions
    Replies: 23
    Last Post: 8 Nov 2006, 01:48 PM
  5. How do I set SMTP details for email?
    By Rockdrala in forum General Questions
    Replies: 12
    Last Post: 9 Jul 2006, 04:43 PM

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