I’m trying to get Drupal 6 to work with Gmail’s IMAP service but I’m running into some issues. When I try to send an email from Drupal, I get error messages about needing to use STARTTLS first. I’ve set up my PHP.ini file with the Gmail SMTP server and port 587, but it’s still not working.
I encountered a similar issue when setting up Drupal 6 with Gmail. One crucial step you might be missing is configuring the SMTP Authentication module. Install and enable this module, then navigate to admin/settings/smtp. Set the SMTP server to ‘smtp.gmail.com’, port to 587, and enable ‘Use SMTP authentication’. Enter your full Gmail address and password in the respective fields. Also, ensure you’ve allowed less secure apps in your Google account settings or set up an app-specific password. This combination should resolve the STARTTLS error and get your email functionality working smoothly.
hey sparklinggem, have u tried enabling SSL in ur php settings? sometimes that solves the STARTTLS issue. also, make sure ur using the latest version of PHPMailer if u haven’t already. it handles gmail’s security better. good luck with ur setup!