Answers.Body: <p>Civicrm has changed how it's including the PEAR library - it was previously including a patched version - however this was updated in <a href="https://github.com/civicrm/civicrm-core/commit/a6a0ff13d2a155ad962529595dceaef728116f96#" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/commit/a6a0ff13d2a155ad962529595dceaef728116f96#</a> to improve maintainability </p>
  
  <p>I believe if you want to apply the fix from <a href="https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem">SMTP connection failing problem</a> </p>
  
  <p>you will now find the required file in vendor/pear/net_smtp/Net/SMTP.php </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-06-16T04:16:28.857Z
Answers.LastActivityDate: 2020-06-16T04:16:28.857Z
Answers.UserDisplayName: Luke Stewart
Body: <p>I host a server on Google Cloud with Protonmail Bridge running in the background. I am still new at working with CiviCRM 5.26.1 and PHP. I can successfully send emails via Drupal usinig the SMTP module but with CiviCRM I receive this error when I send a test email:</p>
  
  <blockquote>
    <p>authentication failure [SMTP: STARTTLS failed (code: 220, response: Ready to start TLS)]</p>
  </blockquote>
  
  <p>In the <a href="https://protonmail.com/bridge/thunderbird#11" rel="nofollow noreferrer">Bridge Configuration Guide</a>, an exception has to be set on Thunderbird.</p>
  
  <p>Now, according to this solution that would seem to solve my problem : <a href="https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem">SMTP connection failing problem</a>, I don't have the same structure when I open the /Net/SMTP.php file.</p>
  
  <p>Note: This exception is needed for Protonmail Bridge.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-16T03:46:20.033Z
Comments.Text: welcome to CiviCRM SE - well explained question - hopefully some one with mailing experience can answer soon
Comments.UserDisplayName: petednz - fuzion
Tags: <smtp>
Title: I can send emails with Drupal 7 using the SMTP Module but not CiviCRM
ThreadText: # I can send emails with Drupal 7 using the SMTP Module but not CiviCRM
  
  (Asked by: username_0 on 2020-06-16)
  
  I host a server on Google Cloud with Protonmail Bridge running in the background. I am still new at working with CiviCRM 5.26.1 and PHP. I can successfully send emails via Drupal usinig the SMTP module but with CiviCRM I receive this error when I send a test email:
  
  > authentication failure [SMTP: STARTTLS failed (code: 220, response: Ready to start TLS)]
  
  In the [Bridge Configuration Guide](https://protonmail.com/bridge/thunderbird#11), an exception has to be set on Thunderbird.
  
  Now, according to this solution that would seem to solve my problem : [SMTP connection failing problem](https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem), I don't have the same structure when I open the /Net/SMTP.php file.
  
  Note: This exception is needed for Protonmail Bridge.
  
  **Tags:** smtp
  
  > **Comments:**
  > **username_1**: welcome to CiviCRM SE - well explained question - hopefully some one with mailing experience can answer soon  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-06-16. Score: 1
  
  Civicrm has changed how it's including the PEAR library - it was previously including a patched version - however this was updated in <https://github.com/civicrm/civicrm-core/commit/a6a0ff13d2a155ad962529595dceaef728116f96#> to improve maintainability
  
  I believe if you want to apply the fix from [SMTP connection failing problem](https://civicrm.stackexchange.com/questions/10964/smtp-connection-failing-problem)
  
  you will now find the required file in vendor/pear/net\_smtp/Net/SMTP.php
  
  
  ---
  
  