# Error sending email do Segment

**URL:** <https://forum.mautic.org/t/error-sending-email-do-segment/33268>\
**Category:** Product Support\
**Created:** [August 26, 2024, 7:53pm UTC](https://forum.mautic.org/t/error-sending-email-do-segment/33268 "2024-08-26T19:53:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![williambugarin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williambugarin/32/12594_2.png) [@williambugarin](https://forum.mautic.org/u/williambugarin)\
**Post date:** [August 26, 2024, 7:53pm UTC](https://forum.mautic.org/t/error-sending-email-do-segment/33268/1 "2024-08-26T19:53:47Z")

</div>

My Mautic version is: 5.1.0  
My PHP version is: PHP Version 8.1.2-1ubuntu2.18  
My Database type and version is: MySql 5.7.38

I have a problem (500 Internal Server Error) when sending an email to a Segment because Mautic 5.1.0 presented the error below.  
The interesting thing is that it sends a test email normally.  
I would be grateful if anyone could help.

Uncaught PHP Exception Mautic\CoreBundle\Exception\BadConfigurationException: “Please configure the path to the MaxMind Do Not Sell List.” at /var/www/vhosts/homologa.mautic.prodeb.ba.gov.br/app/bundles/CoreBundle/IpLookup/DoNotSellList/MaxMindDoNotSellList.php line 27 {“exception”:“[object] (Mautic\CoreBundle\Exception\BadConfigurationException(code: 0): Please configure the path to the MaxMind Do Not Sell List. at /var/www/vhosts/homologa.mautic.prodeb.ba.gov.br/app/bundles/CoreBundle/IpLookup/DoNotSellList/MaxMindDoNotSellList.php:27)”} {“hostname”:“PRODEB-MATIC5”,“pid”:2891233}

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [August 30, 2024, 6:01am UTC](https://forum.mautic.org/t/error-sending-email-do-segment/33268/2 "2024-08-30T06:01:58Z")

</div>

Hi, these errors are related to your Maxmind settings.  
Could you check if you use segment filters, then the filters are actually filled out?

J

---

<div class="post-metadata">

**Author:** ![williambugarin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/williambugarin/32/12594_2.png) [@williambugarin](https://forum.mautic.org/u/williambugarin)\
**Post date:** [August 30, 2024, 12:08pm UTC](https://forum.mautic.org/t/error-sending-email-do-segment/33268/3 "2024-08-30T12:08:31Z")

</div>

I realized that Maxmind was not installed and configured correctly.  
It is working now.  
Thank.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [September 1, 2024, 12:09am UTC](https://forum.mautic.org/t/error-sending-email-do-segment/33268/4 "2024-09-01T00:09:05Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
