Page 1 of 1
Forms-SMTP Encryption =None
Posted: Mon Jan 09, 2023 10:54 am
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
Re: Forms-SMTP Encryption =None
Posted: Mon Jan 09, 2023 11:04 am
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
encryption = ssl:
encryption = tls:
Re: Forms-SMTP Encryption =None
Posted: Mon Jan 09, 2023 6:50 pm
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
Re: Forms-SMTP Encryption =None
Posted: Mon Jan 09, 2023 9:27 pm
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.
Re: Forms-SMTP Encryption =None
Posted: Tue Jan 24, 2023 8:52 pm
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
Re: Forms-SMTP Encryption =None
Posted: Tue Jan 24, 2023 8:59 pm
by Pablo
If my suggestion does not work then you may have added the code in the wrong section.
Re: Forms-SMTP Encryption =None
Posted: Tue Jan 24, 2023 9:00 pm
by BaconFries
Are you using the latest version of the software? phpmailer has been updated in the latest version.
viewtopic.php?t=96408