SMTP SSL SETTINGS

Discuss everything related to PHP Hotel Site. All versions. Any questions related to the PHP Hotel Site developing or using should be posted to this forum.

Moderators: ne_moj, zewa

ChriStef
Junior
Junior
Posts: 22
Joined: May 14th, '17, 09:00

SMTP SSL SETTINGS

Postby ChriStef » Aug 16th, '17, 12:07

Just to let you know an issue or available work around a solution to this with mail settings: /index.php?admin=settings

SMTP Secure *: SSL
Others as your mail provider settings.

For my case I was only be able to work it to change the: \modules\phpmailer\class.phpmailer.php

Find $SMTPOptions and change it:
public $SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); //error no connection https://goo.gl/A7NUYg old: =array();

My server uses lets encrypt https service, and tested working fine with others and especially from my gmail account where I set it up for incoming/outgoing mails. So admins should consider this issue.

Return to “ApPHP HotelSite / uHotelBooking Talk {developers/users}”