I have some trouble with the contact mailing forms since I'm using HTTPS for my gallery with an auto-signed certificate. I managed to work around it by modifying
the connect() function in class.smtp.php file, I added some options to skip the verification which was preventing me from sending mail. It's not very pretty but it's an ok workaround, no sensitive data.
Code
public function connect($host, $port = null, $timeout = 30, $options = array())
{
if(count($options)==0){
$options["ssl"]=array("verify_peer"=>false,"verify_peer_name"=>false,"allow_self_signed"=>true);
}
Yet, now the emails are properly sent, but I always get the X red icon , same case as when the mail has not been sent due to an error. Could you help me and tell me what I need to change in order to get the V green icon and a "Message properly sent" in my case ? (Maybe changing some if case somewhere ?)
Thanks in advance for your help :)
P.S. (I know I'm always asking some weird stuff loool), you can test it here if you want : https://www.insightspirit.com/contact