# Invalid domain - with sparkpost

**URL:** <https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688>\
**Category:** Product Support\
**Created:** [November 29, 2016, 11:07am UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688 "2016-11-29T11:07:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benoitp](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Benoitp](https://forum.mautic.org/u/Benoitp)\
**Post date:** [November 29, 2016, 11:07am UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688/1 "2016-11-29T11:07:47Z")

</div>

i’m using sparpost with the api. The test connection is ok but the sending email test, here is what i got :  
  
  
  
{ “errors”: [{ “message”: “Invalid domain”, “description”: "Unconfigured Sending Domain ", “code”: “7001” }] } Log data: !! { “errors”: [{ “message”: “Invalid domain”, “description”: "Unconfigured Sending Domain ", “code”: “7001” }] } (code: 0)  
  
  
  
mautic is on a subdomain [email.mydomain.net](http://email.mydomain.net) - i configured a sending domain on sparkpost - [mydomain.net](http://mydomain.net) - read to send.  
  
  
  
Could you tell me where can i fix the problem? is it mautic or sparkpost.  
  
  
  
Thanks

---

<div class="post-metadata">

**Author:** ![Benoitp](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@Benoitp](https://forum.mautic.org/u/Benoitp)\
**Post date:** [November 29, 2016, 11:07am UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688/2 "2016-11-29T11:07:47Z")

</div>

i’m using sparpost with the api. The test connection is ok but the sending email test, here is what i got :

{ “errors”: [{ “message”: “Invalid domain”, “description”: "Unconfigured Sending Domain ", “code”: “7001” }] } Log data: !! { “errors”: [{ “message”: “Invalid domain”, “description”: "Unconfigured Sending Domain ", “code”: “7001” }] } (code: 0)

mautic is on a subdomain [email.mydomain.net](http://email.mydomain.net) - i configured a sending domain on sparkpost - [mydomain.net](http://mydomain.net) - read to send.

Could you tell me where can i fix the problem? is it mautic or sparkpost.

Thanks

---

<div class="post-metadata">

**Author:** ![renegademarketer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/renegademarketer/32/13_2.png) [@renegademarketer](https://forum.mautic.org/u/renegademarketer)\
**Post date:** [December 14, 2016, 11:24am UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688/3 "2016-12-14T11:24:24Z")

</div>

I’m having the same issue. Did you find a fix yet?

---

<div class="post-metadata">

**Author:** ![renegademarketer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/renegademarketer/32/13_2.png) [@renegademarketer](https://forum.mautic.org/u/renegademarketer)\
**Post date:** [December 14, 2016, 11:53am UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688/4 "2016-12-14T11:53:38Z")

</div>

> [@17898:@renegademarketer](#):
>
> I’m having the same issue. Did you find a fix yet?

Found the problem and fix. I was trying to change the FROM email address in Mautic and Sparkpost won’t accept email addresses from domains that haven’t been verified.

For example, if you verified domain, [mydomain.com](http://mydomain.com) in Sparkpost but tried to send an email from [me@differentdomain.com](mailto:me@differentdomain.com), you will get the error message mentioned in your first post.

I should have known this because Amazon SES does the same thing. Just verify the domain(s) you want to send as the FROM email and everything should be okay

---

<div class="post-metadata">

**Author:** ![bunce69](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bunce69/32/143_2.png) [@bunce69](https://forum.mautic.org/u/bunce69)\
**Post date:** [December 22, 2016, 1:05pm UTC](https://forum.mautic.org/t/invalid-domain-with-sparkpost/6688/5 "2016-12-22T13:05:16Z")

</div>

Is it possible in Sparkpost or somewhere else to change this verified domain? As istead to send emails via [postmasters@sendingdomain.com](mailto:postmasters@sendingdomain.com) from [myname@sendingdomain.com](mailto:myname@sendingdomain.com) or something else?

How is it possible?

Thank you
