CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • SMTP SSL Error
Pages: [1]

Author Topic: SMTP SSL Error  (Read 1190 times)

yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
SMTP SSL Error
October 23, 2010, 06:01:58 pm
Howdy.

Have just upgraded to 3.2.3 and now getting an error with Event email confirmations, and also when trying to save SMTP settings
(/civicrm/admin/setting/smtp?reset=1)

We use a third party SMTP provider. As per the response text below I enabled SSL to see if it would work and it did, but I wonder why Civi is forcing SSL on this 3.2.3 upgraded install?
I have another CiviCRM install - 3.1.3 and that has no trouble sending to the same SMTP host and does not have this issue with SSL. I don’t want to use SSL for both as there is a message credits penalty for the extra load SSL places on their server.

Any clues greatly appreciated.

Have included the error response text to help those searching on a similar error:

Code: [Select]
Oops. Your SMTP settings are incorrect. No test mail has been sent.

An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after
submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.

The mail library returned the following error message:
Failed to set sender: us@ourdomain.org [SMTP: Invalid response code received from SMTP (outbound mail)
server while attempting to send email. This is often caused by a misconfiguration in the CiviCRM Outbound
Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >>
Outbound Email (SMTP). (code: 428, response: 4.0.0 Your account is using SSL - either disable
it in your email client or enable it at http://thirdparty.smtp.provider.com)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: SMTP SSL Error
October 24, 2010, 02:21:46 am
@yogibear,

Which port are you using?

If it's 465 or 587 then Civi may assume you want an SSL connection.

Did this all work prior to the upgrade?

Ken


yogibear

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
    • Byron Yoga
  • CiviCRM version: 4.1
  • CMS version: 6.2
  • MySQL version: 5.0
  • PHP version: 5.2
Re: SMTP SSL Error
October 24, 2010, 01:38:19 pm
Hi Ken, its port 2525, their non ssl port options are: "23, 25, 26, 2525 - we recommend (where possible) you use SMTP port: 2525"

Worked fine before upgrade and as I say I also have another instance running fine.

Tried on port 25 just to see if Civi assumed non 25 was ssl but no dice.

Poked around in the code but there a few places things happen... ezc mail components, PEAR and somewhere else I think.


ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: SMTP SSL Error
October 24, 2010, 02:35:58 pm
@yogibear,

Try connecting via telnet (telnet host 2525) and see what the response is. (sanitise it and post it here.)

Perhaps authentication requires a secure connection?

Ken

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • SMTP SSL Error

This forum was archived on 2017-11-26.