Answers.Body: <p>One possibility is that you are trying to send an email with a "From address" that is not in the sending domain(s) that you have verified in SparkPost. I think they only allow email from verified domains, so you can't send "from" a Gmail address in CiviCRM, for example.</p>
  
  <p>If you are having trouble with the PESC Sparkpost extension you may want to try the one from Cividesk. It only requires inputting the API code and is pretty much plug and play. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-09T01:53:12.553Z
Answers.Text: Thanks but I've confirmed that the from address is allowed.
Answers.UserDisplayName: Keith Webb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-09T02:21:48.547Z
Answers.Text: See edits above for another suggestion.
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-09T03:28:31.797Z
Answers.Text: The Cividesk extension worked on Drupal, will test on Joomla before posting answer, thanks @Laryn
Answers.UserDisplayName: Keith Webb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-06T16:13:01.353Z
Answers.LastActivityDate: 2016-04-09T02:21:20.327Z
Answers.LastEditDate: 2016-04-09T02:21:20.327Z
Answers.UserDisplayName: Laryn
Answers.Body: <p>I don't know about SparkPost specifically... however I use similar services with my CiviCRM installs...</p>
  
  <p>Error seems to imply that your username and/or password is wrong: <a href="https://support.sparkpost.com/customer/portal/questions/16067096-atomic-email-sender-errors?b_id=7411" rel="nofollow">https://support.sparkpost.com/customer/portal/questions/16067096-atomic-email-sender-errors?b_id=7411</a></p>
  
  <h2>added in response to first comment</h2>
  
  <p>I ran into that on Google Compute Engine hosting. All mail ports but the non-standard 2525 were blocked. <a href="https://support.sparkpost.com/customer/portal/articles/1988470-smtp-connection-problems" rel="nofollow">https://support.sparkpost.com/customer/portal/articles/1988470-smtp-connection-problems</a></p>
  
  <p>I would test the ports. ssh into the server and telnet the ports to see if you can talk to the mail server. You should get a response something like below (try 587 and 2525):</p>
  
  <p>david@server ~ $ telnet smtp.sparkpostmail.com 587
  Trying 54.191.237.37...
  Connected to smtp.sparkpostmail.com.
  Escape character is '^]'.
  220 2.0.0 smtp.sparkpostmail.com ESMTP ecelerity 4.2.17.54068 </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-09T01:55:44.863Z
Answers.Text: I have validated my user/pass by using the credentials with my email client (Apple Mail).  No problems connecting to Sparkpost and sending email...no problem!  I would add that I'm seeing this issue with my Drupal installations as well...I'm wondering if there could be an issue with my hosting provider...
Answers.UserDisplayName: Keith Webb
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-09T19:18:47.687Z
Answers.Text: I ran into that on Google Compute Engine hosting. All mail ports but the non-standard 2525 were blocked. [link]https://support.sparkpost.com/customer/portal/articles/1988470-smtp-connection-problems[/link]
  
  I would test the ports. ssh into the server and telnet the ports to see if you can talk to the mail server. You should get a response something like below (try 587 and 2525):
  
  david@server ~ $ telnet smtp.sparkpostmail.com 587
  Trying 54.191.237.37...
  Connected to smtp.sparkpostmail.com.
  Escape character is '^]'.
  220 2.0.0 smtp.sparkpostmail.com ESMTP ecelerity 4.2.17.54068
Answers.UserDisplayName: David Hayes
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-06T14:12:19.757Z
Answers.LastActivityDate: 2016-04-09T19:19:21.923Z
Answers.LastEditDate: 2016-04-09T19:19:21.923Z
Answers.UserDisplayName: David Hayes
Body: <p>I installed the SparkPost/CiviCRM extension and followed the README and all seems correct but I can not connect to SparkPost SMTP server.  Is anyone else seeing a problem?</p>
  
  <p><a href="https://i.sstatic.net/kjg7o.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kjg7o.png" alt="Error message"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T02:00:34.543Z
Comments.Text: I'd like to add that the above screenshot is without ssl:// -- If I use ssl:// with the smtp server name, the error message is:  Failed to connect to ssl://smtp.sparkpostmail.com:587 [SMTP: Failed to connect socket: (code: -1, response: )]  I'm seeing this with my Drupal installs so it's not limited to Joomla...see comment below regarding successful send using external email client, no issue.
Comments.UserDisplayName: Keith Webb
Tags: <civimail><ssl>
Title: Trouble connecting to SparkPost - Joomla 2.5.28 / Civicrm 4.6.14
ThreadText: # Trouble connecting to SparkPost - Joomla 2.5.28 / Civicrm 4.6.14
  
  (Asked by: username_0 on 2016-04-04)
  
  I installed the SparkPost/CiviCRM extension and followed the README and all seems correct but I can not connect to SparkPost SMTP server. Is anyone else seeing a problem?
  
  [![Error message](https://i.sstatic.net/kjg7o.png)](https://i.sstatic.net/kjg7o.png)
  
  **Tags:** civimail, ssl
  
  > **Comments:**
  > **username_0**: I'd like to add that the above screenshot is without ssl:// -- If I use ssl:// with the smtp server name, the error message is:  Failed to connect to ssl://smtp.sparkpostmail.com:587 [SMTP: Failed to connect socket: (code: -1, response: )]  I'm seeing this with my Drupal installs so it's not limited to Joomla...see comment below regarding successful send using external email client, no issue.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-04-06. Score: 2
  
  One possibility is that you are trying to send an email with a "From address" that is not in the sending domain(s) that you have verified in SparkPost. I think they only allow email from verified domains, so you can't send "from" a Gmail address in CiviCRM, for example.
  
  If you are having trouble with the PESC Sparkpost extension you may want to try the one from Cividesk. It only requires inputting the API code and is pretty much plug and play.
  
  > **Comments:**
  > **username_0**: Thanks but I've confirmed that the from address is allowed.  
  > **username_1**: See edits above for another suggestion.  
  > **username_0**: The Cividesk extension worked on Drupal, will test on Joomla before posting answer, thanks @username_1  
  
  ---
  
  ### Answer by username_2 on 2016-04-06. Score: 0
  
  I don't know about SparkPost specifically... however I use similar services with my CiviCRM installs...
  
  Error seems to imply that your username and/or password is wrong: <https://support.sparkpost.com/customer/portal/questions/16067096-atomic-email-sender-errors?b_id=7411>
  
  ## added in response to first comment
  
  I ran into that on Google Compute Engine hosting. All mail ports but the non-standard 2525 were blocked. <https://support.sparkpost.com/customer/portal/articles/1988470-smtp-connection-problems>
  
  I would test the ports. ssh into the server and telnet the ports to see if you can talk to the mail server. You should get a response something like below (try 587 and 2525):
  
  username_2@server ~ $ telnet smtp.sparkpostmail.com 587
  Trying 54.191.237.37...
  Connected to smtp.sparkpostmail.com.
  Escape character is '^]'.
  220 2.0.0 smtp.sparkpostmail.com ESMTP ecelerity 4.2.17.54068
  
  > **Comments:**
  > **username_0**: I have validated my user/pass by using the credentials with my email client (Apple Mail).  No problems connecting to Sparkpost and sending email...no problem!  I would add that I'm seeing this issue with my Drupal installations as well...I'm wondering if there could be an issue with my hosting provider...  
  > **username_2**: I ran into that on Google Compute Engine hosting. All mail ports but the non-standard 2525 were blocked. [link]https://support.sparkpost.com/customer/portal/articles/1988470-smtp-connection-problems[/link]  I would test the ports. ssh into the server and telnet the ports to see if you can talk to the mail server. You should get a response something like below (try 587 and 2525):  username_2@server ~ $ telnet smtp.sparkpostmail.com 587 Trying 54.191.237.37... Connected to smtp.sparkpostmail.com. Escape character is '^]'. 220 2.0.0 smtp.sparkpostmail.com ESMTP ecelerity 4.2.17.54068  
  
  ---
  
  