Body: <p>After having filled in all setting for outgoing SMTP (using gmail) I fail to send email. The error from GMail says that the settings are incorrect (most likely). And indeed, even when I set my GMail account name in "Outgoing SMTP Username" upon clicking save and test it seems to revert to my Joomla logged in account name.</p>
  
  <p>That is:</p>
  
  <ul>
  <li>I enter <strong>foo@bar.com</strong> in the textbox, click save. (and all other<br>
  settings ... duh!)</li>
  <li>I leave that page.</li>
  <li>I return to outgoing server settings.</li>
  <li>Now I see foo@bar.com in Outgoing SMTP Username for a split  second,
  then it reverts to my user account so that when I attempt to send
  and test the settings it has MYLOGGEDINUSERNAME as the Outgoing SMTP Username</li>
  </ul>
  
  <p>The specific error message is: Failed to connect to smtp.gmail.com:465 [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: -1, response: )]</p>
  
  <p>How do I fix this?</p>
  
  <p>Joomla 3.7.5
  Latest CiviCRM</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-10-17T06:25:46.810Z
Comments.Text: This seems to be browser related. Chrome does this, Edge doesn't.
Comments.UserDisplayName: Martin
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-10-04T12:37:47.740Z
Comments.Text: I almost went crazy over this just now. Thanks for pointing to the culprit, Chrome. Although perhaps there might be away to prevent it.
Comments.UserDisplayName: thoni56
Tags: <settings><smtp>
Title: Outgoing SMTP Username reverts
ThreadText: # Outgoing SMTP Username reverts
  
  (Asked by: username_0 on 2017-10-04)
  
  After having filled in all setting for outgoing SMTP (using gmail) I fail to send email. The error from GMail says that the settings are incorrect (most likely). And indeed, even when I set my GMail account name in "Outgoing SMTP Username" upon clicking save and test it seems to revert to my Joomla logged in account name.
  
  That is:
  
  * I enter **foo@bar.com** in the textbox, click save. (and all other  
    settings ... duh!)
  * I leave that page.
  * I return to outgoing server settings.
  * Now I see foo@bar.com in Outgoing SMTP Username for a split second,
    then it reverts to my user account so that when I attempt to send
    and test the settings it has MYLOGGEDINUSERNAME as the Outgoing SMTP Username
  
  The specific error message is: Failed to connect to smtp.gmail.com:465 [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: -1, response: )]
  
  How do I fix this?
  
  Joomla 3.7.5
  Latest CiviCRM
  
  **Tags:** settings, smtp
  
  > **Comments:**
  > **username_0**: This seems to be browser related. Chrome does this, Edge doesn't.  
  > **username_1**: I almost went crazy over this just now. Thanks for pointing to the culprit, Chrome. Although perhaps there might be away to prevent it.  
  
  ---
  
  ## 0 answers
  
  