It appears that the latest version has been moved. Further, when I look at the code, it appears to be in a different directory layout than 5.1.0 (which looks like I'd expect for Libraries support). Are changes required for 5.2.0? Should I, instead, install 5.1.0?

#7 phpmailer.upgrade.7.patch6.14 KBsun
None View
Members fund testing for the Drupal project. Drupal Association Learn more


drupalisme’s picture

I see:
"The new Project Administrator for PHPMailer, Jim Jagielski, is pleased to announce PHPMailer v5.2.0 is now released.

Along with this release, Jim is announcing that PHPMailer downloads and project details will now be found in the Apache Extras repository at

For the time being, older PHPMailer versions will still be found on"

NancyDru’s picture

Yes, I saw that. How do you think I know what's in the two versions?

HFlame7’s picture

Any updates on this? Will PHPMailer 5.2.0 work with this module?

Update: After doing some minor testing, it seems like 6.x-3.1 works for me -- at least for the basic email features that I use.

NancyDru’s picture

I'm sure it does. But which version of the PHPMailer Library are you using?

HFlame7’s picture

I'm using PHPMailer 5.2.0 with version 6.x-3.1 of this module and everything is working fine for me. But again I'm only using it for basic email features like new user verification emails, forgot password requests, contact admin form, and a few custom actions. Can't comment on anything more advanced then those email features. Also, I can't say whether or not 5.2.0 works on the dev version, but it works for 6.x-3.1 though.

sun’s picture

Title: PHPMail 5.2.0 » PHPMailer 5.2.5 (new project home + download page + releases)
Priority: Normal » Critical

Looking into this.

So the PHPMailer project has been officially moved to

That "homepage" is really confusing though — full of scam ads that look like official download links. :-/

The new source code repository is

3 days ago, a new stable tag + release was finally created:

Primarily for Composer/Packagist support, as discussed here:

The README in the repo states "Rolling releases" though, and I hope that does not mean what it possibly means. We need to talk to them that we need officially tagged releases. I followed up on aforementioned issue.

Will try whether we need to change anything for 5.2.5 now.

sun’s picture

Status: Active » Needs review
6.14 KB
None View

Only some minimal changes are needed for 5.2.5.

Most likely, the current module code even works perfectly fine with it. However, a few things can be simplified, since the PHPMailer library has been improved upstream.

sun’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Component: Documentation » Code
Status: Needs review » Fixed

Committed to 7.x-3.x and 6.x-3.x.

Also updated the project page for the new project/download URLs.

Please let me know if you encounter any bugs. Make sure to update your PHPMailer library to 5.2.5 before updating the module.

Given some confirmations, I think it's finally time to publish stable 3.x releases.

sun’s picture

I'm personally running this code in production now. The library + module update was completely flawless, and everything seems to be working fine.

Any other testers?

Status: Fixed » Closed (fixed)

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