Hello - I just got a new VPS at my hosting company. WHen I install Ubuntu 10.04 LTS I have no issues with this module. When I install Ubuntu 8.04 LTS I cannot get the module to send mail. Here are the details.

Module version -> 6.x-2.2
PHPMailer version -> 5.2.0 (dowloaded at http://phpmailer.worxware.com)
PHP version -> 5.2.4-2ubuntu5.17
Primary SMTP server -> smtp.gmail.com
SMPT Port -> 465 (have also tried 587)
Use secure protocol -> SSL (have also tried TLS)
SMTP authentication -> My google apps for my domain username and password
Always set "Reply-To" address -> Enabled

The error message I receive when using the Test Configuration feature is:

• The configuration options have been saved.
• SMTP -> ERROR: Failed to connect to server: (0)
• A test e-mail has been sent to chris@example.com. Check the logs for any error messages.
• Sending of at least one e-mail failed. The error returned was:
SMTP error: could not connect to SMTP host.
• Unable to send e-mail. Please contact the site administrator if the problem persists.

When I use the exact same configuration on Ubuntu 10.04 LTS everything works perfect. I can't use Ubuntu 10.04 LTS for my production site because it comes with PHP 5.3 and that version doesn't work well with my required modules.

Please let me know how I can help resolve this issue.

Comments

The Computer Audiophile’s picture

Edit: My PHP install has the following for OpenSSL:

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8g 19 Oct 2007

I also tried versions 5.0.2, 5.1, and 5.2.0 of the phpmailer download.

oadaeh’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This issue is being closed due to Drupal 6 being at the end of its life. If you feel this is still a valid issue for the Drupal 7 compatible branch of this module, feel free to re-open this issue and provide updated information.