Zen Cart Logo
Forums / Basic Configuration / email set-up for SMTP TLS

email set-up for SMTP TLS

Views: 2,730

Results 1 to 6 of 6
7 Jul 2012, 4:17 PM
#1
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

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

8 Jul 2012, 1:14 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

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
<?php
define('SMTPAUTH_EMAIL_PROTOCOL', 'tls');
8 Jul 2012, 2:14 PM
#3
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

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

10 Jul 2012, 10:40 PM
#5
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

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

11 Jul 2012, 11:50 PM
#6
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

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