# SparkPost Dedicated IP problem

**URL:** https://forum.mautic.org/t/sparkpost-dedicated-ip-problem/29672
**Category:** Product Support
**Tags:** mautic-4
**Created:** [October 16, 2023, 10:58am UTC](https://forum.mautic.org/t/sparkpost-dedicated-ip-problem/29672 "2023-10-16T10:58:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![omert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/omert/32/10732_2.png) [@omert](https://forum.mautic.org/u/omert)
#### Post date: [October 16, 2023, 10:58am UTC](https://forum.mautic.org/t/sparkpost-dedicated-ip-problem/29672/1 "2023-10-16T10:58:15Z")

</div>

**Your software**  
_My PHP version is_ : 8.0.28  
_My MySQL/MariaDB version is_ (delete as applicable): 8.0.34

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing / Updating  
_Upgrading/installing via_ (delete as applicable) : Web / Command Line

_These errors are showing in the installer_ :

_These errors are showing in the Mautic log_ :

**Your problem**  
_My problem is_ :

I am using my Mautic system to send via the SparkPost API.  
For some reason, it IS sending but it is not sending through the Dedicated IP that I have configured there.  
Could you please help and/or advise?

Your help would be greatly appreciated.

Thanks in advance.

Steps to reproduce issue:

Step 1:  
Configure Mautic to use the SparkPost API

Step 2:  
Send an email through Mautic

Step 3:  
Check received email headers and see if it has been sent via the dedicated IP configured on SparkPost

_Steps I have tried to fix the problem_ :

---

<div class="post-metadata">

### Author: ![omert](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/omert/32/10732_2.png) [@omert](https://forum.mautic.org/u/omert)
#### Post date: [October 24, 2023, 6:37am UTC](https://forum.mautic.org/t/sparkpost-dedicated-ip-problem/29672/2 "2023-10-24T06:37:55Z")

</div>

In addition to my initial post, I would like to add that using SMTP instead of API does currently work when adding the following message header:  
**X-MSYS-API: {“options”: {“ip\_pool”: “SPARKPOST\_IP\_POOL\_GOES\_HERE”}}**

However, this is not the case when trying to use the API.
