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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • CiviMail - Choose AUTH method
Pages: [1]

Author Topic: CiviMail - Choose AUTH method  (Read 1269 times)

theitd

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
    • the ITD
  • CiviCRM version: 3.4.7
  • CMS version: 1.15.26
  • MySQL version: 5.1.66
  • PHP version: 5.3
CiviMail - Choose AUTH method
January 01, 2010, 04:19:17 pm
Hi there,

I hit a minor problem with setting up mail, using SMTP, from CiviMail - in 3.1 beta3.
I'm using Joomla 1.5.14 and PHP5. The problem is not a bug, exactly, but more of a feature request:
I host a few installations of Civi on the same machine, and all the others are running version 2.2+. They all use an SMTP gateway to send bulk mail, so I can't change the incoming mail settings to SSL without rejecting mail from the other live domains.

To get around it, I raised the PHP version check from 5.1.0 to 7.1.0, just before Net_SMTP decides to use SSL:

Line 531 of /administrator/components/com_civicrm/civicrm/packages/Net/SMTP.php:

        /* We can only attempt a TLS connection if we're running PHP 5.1.0 or
         * later, have access to the OpenSSL extension, are connected to an
         * SMTP server which supports the STARTTLS extension, and aren't
         * already connected over a secure (SSL) socket connection. */
        $tls = version_compare(PHP_VERSION, '7.1.0', '>=') && extension_loaded('openssl') &&



Would it be possible to make an option for the authentication method to avoid Civi defaulting to using SSL for Outgoing Mail?
Too err is human, to really foul things up needs a computer.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviMail - Choose AUTH method
January 01, 2010, 09:12:26 pm

1. this is probably more of a question/issue for the PEAR folks who've written the mail/smtp module. you might want to follow up there

2. if important to you, please consider writing a patch that fixes the issue

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • CiviMail - Choose AUTH method

This forum was archived on 2017-11-26.