Title: SMTP Error
Last modified: June 12, 2017

---

# SMTP Error

 *  [techu](https://wordpress.org/support/users/techu/)
 * (@techu)
 * [9 years ago](https://wordpress.org/support/topic/smtp-error-9/)
 * I am attempting to use SMTP to send mail and have the SMTP server set to this(
   [http://smtp.elasticmail.com](http://smtp.elasticmail.com)). When I attempt to
   send a test email from the troubleshooting screen I get the following errors:
 * SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo
   failed: Name or service not known (0)
    SMTP Error: Could not connect to SMTP 
   host.
 * When I change the SMTP server to this (smtp.elasticemail.com) I get:
 * SMTP -> ERROR: Failed to connect to server: (0)
    SMTP Error: Could not connect
   to SMTP host.
 * Also, when I am using elastic mail. When I go to “Mailing Groups > Edit” and 
   go down to the “Test Email Connection” button nothing appears to happen when 
   I click the button. I have triple checked the SMTP credentials so those should
   be correct.

Viewing 1 replies (of 1 total)

 *  [jonathancole](https://wordpress.org/support/users/jonathancole/)
 * (@jonathancole)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/smtp-error-9/#post-9255441)
 * Are you using SSL? I tried to set up SMTP with SSL and it didn’t work. I don’t
   think the SSL option was passing through from the settings page.
 * I’ve manually added $ssl = True just inside the receivemail function in wp-mailing-
   group/lib/receivemail.class.php and that did the trick.

Viewing 1 replies (of 1 total)

The topic ‘SMTP Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-mailing-group/assets/icon-128x128.png?rev=1113552)
 * [Mailing Group Listserv](https://wordpress.org/plugins/wp-mailing-group/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mailing-group/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mailing-group/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mailing-group/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mailing-group/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mailing-group/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jonathancole](https://wordpress.org/support/users/jonathancole/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/smtp-error-9/#post-9255441)
 * Status: not resolved