Hello everyone,
I’ve got some issues with outgoing mail server. While checking in forum for the issues, I’ve decide to do some changes refering this topic: Mail stopped working - Error:SMTP connect() failed. - 💬 General Discussion - SuiteCRM .
I’ve made the debugging procedure as it says in the topic and I get some error messages that I cannot read them verywell.
.
Is there any way to fix that issue “SMTP Error: Could not connect to SMTP host.”? I am using gmail as a host.
Thanks for your time.
You have to Add these Following lines into the include/phpmailer/class.smtp.php files Connect() Method
if(count($options)==0){
$options["ssl"]=array("verify_peer"=>false,"verify_peer_name"=>false,"allow_self_signed"=>true);
}
I’ve added that in line 312 or before this line " $this->edebug(‘Connection: opened’, self::DEBUG_CONNECTION); ", but still same error.