Title: Error sending test e-mail
Last modified: August 12, 2020

---

# Error sending test e-mail

 *  [nettrakett](https://wordpress.org/support/users/nettrakett/)
 * (@nettrakett)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/)
 * I get this error when sending a test e-mail from wp plugin.
    How may i fix the
   issue?
 * Response received
    Response headers: Requests_Utility_CaseInsensitiveDictionary
   Object( [data:protected] => Array ( [date] => Wed, 12 Aug 2020 14:13:42 GMT [
   content-type] => application/json [content-length] => 181 [vary] => Accept [server]
   => msys-http [cache-control] => no-cache, no-store )) Response body: { “errors”:[{“
   message”: “invalid data format\/type”, “description”: “field ‘content.headers’
   is of type ‘json_array’, but needs to be of type ‘json_object'”, “code”: “1300”}]}
   Error in transmission

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [reil86](https://wordpress.org/support/users/reil86/)
 * (@reil86)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13245016)
 * I have the same issue. I hope there’s a solution to this soon.
 *  Thread Starter [nettrakett](https://wordpress.org/support/users/nettrakett/)
 * (@nettrakett)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13245672)
 * In the SparkPost plugin, under “Basic settings”, we changed the method to SMTP(
   port 587) and it solved our problem
 *  [nocabt](https://wordpress.org/support/users/nocabt/)
 * (@nocabt)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13246895)
 * Hey [@nettrakett](https://wordpress.org/support/users/nettrakett/) FYI I submitted
   a ticket to Sparkpost and they replied:
 * > Thanks for writing in! I’m afraid our WordPress application is no longer supported
 * So I wouldn’t expect any support here.
 * But, I tested your fix and it worked…
 *  [sd14](https://wordpress.org/support/users/sd14/)
 * (@sd14)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13249482)
 * This Plugin is not working with WordPress 5.5 if you using HTTP API.
 *  [nzecheru](https://wordpress.org/support/users/nzecheru/)
 * (@nzecheru)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13249602)
 * Using SMTP instead of API works OK.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error sending test e-mail’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sparkpost_763a21.svg)
 * [SparkPost](https://wordpress.org/plugins/sparkpost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sparkpost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sparkpost/)
 * [Active Topics](https://wordpress.org/support/plugin/sparkpost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sparkpost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sparkpost/reviews/)

## Tags

 * [e-mail](https://wordpress.org/support/topic-tag/e-mail/)

 * 5 replies
 * 5 participants
 * Last reply from: [nzecheru](https://wordpress.org/support/users/nzecheru/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/error-sending-test-e-mail/#post-13249602)
 * Status: not resolved