ForgotPassword - Email identified as spam or blocked, because "from" is empty
If no from-email is configured in the SMTP parameters, forgotPassword.php has an empty From.
My solution, use the Users email:
$mail = new Vtiger_Mailer(); $mail->IsHTML(); $mail->Body = $content; $mail->Subject = $subject; $mail->AddAddress($email); if( $mail->From == ''){ // <<- Insert these three lines $mail->From = $email; $mail->FromName = decode_html('from CRM'); }