Answers.Body: <p>Google considers SMTP to be an "insecure" protocol when connecting to their servers.  You have to explicitly go into your account settings as described <a href="https://support.google.com/accounts/answer/6010255?hl=en" rel="nofollow noreferrer">here</a> and enable access for these "insecure" requests.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-21T20:21:52.173Z
Answers.LastActivityDate: 2017-06-21T20:21:52.173Z
Answers.UserDisplayName: Brad Bell
Body: <p>I have tried to configure email as an SMTP client for a Google Mail server. When I click test I get a generic "There was an error testing your email settings", but no further info in Craft log files. The error displays almost instantly, so it does not seem like a connection issue, e.g. password / username error.</p>
  
  <p>Craft is latest version and site is hosted with Arcustech. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-20T17:04:56.693Z
Comments.Text: Can you post your config (obfuscating your credentials of course)?
Comments.UserDisplayName: Rick Kukiela
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-20T17:26:30.617Z
Comments.Text: There should be an error getting logged in `craft/storage/runtime/logs` as well.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-21T18:02:39.923Z
Comments.Text: As I said in the post, no errors show up in the logs
Comments.UserDisplayName: Roi Agneta
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-06-21T18:07:48.837Z
Comments.Text: Config settings: protocol:smtp    hostname:smtp.google.com   port:465  use SMTP authentication  Username:my email address Password:my password SMTP Secure Transport Type: SSL   Note that these settings are recommended by Google and the exact same settings work fine in my desktop email client
Comments.UserDisplayName: Roi Agneta
Tags: <emails>
Title: Error Configuring Email for SMTP
ThreadText: # Error Configuring Email for SMTP
  
  (Asked by: username_0 on 2017-06-20)
  
  I have tried to configure email as an SMTP client for a Google Mail server. When I click test I get a generic "There was an error testing your email settings", but no further info in Craft log files. The error displays almost instantly, so it does not seem like a connection issue, e.g. password / username error.
  
  Craft is latest version and site is hosted with Arcustech.
  
  **Tags:** emails
  
  > **Comments:**
  > **username_1**: Can you post your config (obfuscating your credentials of course)?  
  > **username_2**: There should be an error getting logged in `craft/storage/runtime/logs` as well.  
  > **username_0**: As I said in the post, no errors show up in the logs  
  > **username_0**: Config settings: protocol:smtp    hostname:smtp.google.com   port:465  use SMTP authentication  Username:my email address Password:my password SMTP Secure Transport Type: SSL   Note that these settings are recommended by Google and the exact same settings work fine in my desktop email client  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-06-21. Score: 2
  
  Google considers SMTP to be an "insecure" protocol when connecting to their servers. You have to explicitly go into your account settings as described [here](https://support.google.com/accounts/answer/6010255?hl=en) and enable access for these "insecure" requests.
  
  
  ---
  
  