Drush and the SMTP module

Chris Graham's picture

I was recently doing a full update of Drupal core and modules on our Community Leadership Programme website.  Apart from the usual problems with Panels and Ctools there is a bit of pain if you update the SMTP module with Drush (probably goes for any other module that requires a third party download).

Drush update seems to delete the old module directory before downloading the new version of the module to the sites/all/modules folder - therefore deleting PHPMailer in the process.  This means you need to download PHPMailer and put it back in the SMTP module folder to get everything working again.

Drush is great, it has saved me a lot of time and I'm not going to knock it, this is just one of those minor nuisances that I'll have to learn to live with.