Body: <p>Our live CIVICRM environment is CiviCRM 5.67.1, Joomla 4.4.2, PHP 8.1, hosted on Siteground.  We are changing to a SMTP server for our CIVICRM mail.  Our mail provider wants us to use a TLS connection.  I have attached 2 screenshots - one for the settings in CiviCRM for outbound mail; the second is the result of clicking Save and Test email.  How do we make this work? <a href="https://i.sstatic.net/cRvrU.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cRvrU.png" alt="Attachment 1" /></a>  <a href="https://i.sstatic.net/yPlgN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yPlgN.png" alt="Attachment 2" /></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-06T01:09:24.697Z
Comments.Text: The error says "authentication failed". Is it the right username/password? You could also try "SMTP port" 587 instead of 465 since there's two versions of encryption and one of them uses the 587 port.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-06T15:41:13.093Z
Comments.Text: They are the correct credentials.  CIVICRM can handle TLS, correct?  If so, do I have the nomenclature in the SMTP server field in the screenshots correct?
Comments.UserDisplayName: Margaret
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-06T21:12:17.330Z
Comments.Text: I just tried it on a different server and it works and I can see it uses TLS. Yes `ssl://` is correct. Maybe your password has special characters in it? Sometimes that causes problems.
Comments.UserDisplayName: Demerit
Tags: <mailing><smtp>
Title: TLS connection for a SMTP server
ThreadText: # TLS connection for a SMTP server
  
  (Asked by: username_0 on 2024-03-06)
  
  Our live CIVICRM environment is CiviCRM 5.67.1, Joomla 4.4.2, PHP 8.1, hosted on Siteground. We are changing to a SMTP server for our CIVICRM mail. Our mail provider wants us to use a TLS connection. I have attached 2 screenshots - one for the settings in CiviCRM for outbound mail; the second is the result of clicking Save and Test email. How do we make this work? [![Attachment 1](https://i.sstatic.net/cRvrU.png)](https://i.sstatic.net/cRvrU.png) [![Attachment 2](https://i.sstatic.net/yPlgN.png)](https://i.sstatic.net/yPlgN.png)
  
  **Tags:** mailing, smtp
  
  > **Comments:**
  > **username_1**: The error says "authentication failed". Is it the right username/password? You could also try "SMTP port" 587 instead of 465 since there's two versions of encryption and one of them uses the 587 port.  
  > **username_0**: They are the correct credentials.  CIVICRM can handle TLS, correct?  If so, do I have the nomenclature in the SMTP server field in the screenshots correct?  
  > **username_1**: I just tried it on a different server and it works and I can see it uses TLS. Yes `ssl://` is correct. Maybe your password has special characters in it? Sometimes that causes problems.  
  
  ---
  
  ## 0 answers
  
  