Forms-SMTP Encryption =None

Issues related to forms.
Post Reply
Praxandros
 
 
Posts: 45
Joined: Wed Apr 23, 2014 2:16 am
Location: Cyprus
Contact:

Forms-SMTP Encryption =None

Post by Praxandros »

Dear Pablo,

Since last month, I was trying to make Contact form to work, but without success.

After many discussions and arguments with the HOST provider, they have indicated that PHP Mailer, is ignoring "SMTP Encryption =None" and returns into PHPMailer.php, "public $SMTPAutoTLS=true".

They manually changed it to "false" and the form executed successfully.

WWB18.0.5

Please check it out.

Thank you
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Forms-SMTP Encryption =None

Post by Pablo »

What are your exact settings?
What is the expected result?
Can you please be more specific?

Note that smtp encryption=none is not ignore, these are the possible values:

encryption=none

Code: Select all

default value
encryption = ssl:

Code: Select all

$mail->SMTPSecure = 'ssl'
encryption = tls:

Code: Select all

$mail->SMTPSecure = 'tls'
Praxandros
 
 
Posts: 45
Joined: Wed Apr 23, 2014 2:16 am
Location: Cyprus
Contact:

Re: Forms-SMTP Encryption =None

Post by Praxandros »

Dear Pablo,

My settings in Mail Engine are:
Use PHP Mailer
Mail Engine : SMTP
SMTP Encryption : None
SMTP Authentication : true
SMTP Host : localhost
SMTP Port : 25
SMTP UserName : info@translation-cyprus.com
SMTP Password : (Correct Pass)
========================================
In PHPMailer.php
Line 318 the code generated is:
public $SMTPAutoTLS = true;
========================================
Thank you
Praxandros
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Forms-SMTP Encryption =None

Post by Pablo »

There is no dedicated option to enable SMTPAutoTLS because no one has previously asked for this to be included.
However, you can add it yourself via the 'Custom Form processing' tab in Object HTML of the form.

Code: Select all

$mail->SMTPAutoTLS = true;
Praxandros
 
 
Posts: 45
Joined: Wed Apr 23, 2014 2:16 am
Location: Cyprus
Contact:

Re: Forms-SMTP Encryption =None

Post by Praxandros »

Dear Pablo,

I return to the topic and report that the forms on the website work normally.

But, every time I publish the webpage, I have to go to PHPMailer.php on line 318 and change the 'public $SMTPAutoTLS = true?' in 'public $SMTPAutoTLS = false;'
There is no dedicated option to enable SMTPAutoTLS because no one has previously asked for this to be included.
However, you can add it yourself via the 'Custom Form processing' tab in Object HTML of the form.
CODE: SELECT ALL

$mail->SMTPAutoTLS = true;
Please, also note that, I am adding '$mail->SMTPAutoTLS = false;' via the 'Custom Form processing' tab in Object HTML of the form but the code after publish remains 'true'

Regards
Praxandros
User avatar
Pablo
 
Posts: 22995
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Forms-SMTP Encryption =None

Post by Pablo »

If my suggestion does not work then you may have added the code in the wrong section.
User avatar
BaconFries
 
 
Posts: 5788
Joined: Thu Aug 16, 2007 7:32 pm

Re: Forms-SMTP Encryption =None

Post by BaconFries »

Are you using the latest version of the software? phpmailer has been updated in the latest version.

viewtopic.php?t=96408
Post Reply