I added
if( $phpmailer->SMTPSecure == '' ) { $phpmailer->SMTPAutoTLS = false; $phpmailer->SMTPSecure = false; }
after $phpmailer->SMTPSecure = psm_get_conf('email_smtp_security'); in functions.inc.php
and now it works for me