After following the README & INSTALL instructions (installing, patching phpmailer 2.2.1, configuring for gmail, etc.), the SMTP module still doesn't send email.

The log shows that it "Could not locate PHPMailer library."

I have the patched phpmailer code in the directory sites/all/modules/smtp/phpmailer. I also tried naming the directory 'PHPMailer', but that was pointless.

Comments

cyteen’s picture

The phpmailer directory is looked for in sites/all/libraries not sites/all/modules/smtp. Just mv the directory and the error stops.

josesanmartin’s picture

Category: bug » support
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.