# After attempting to send test emails Error 500 - Mautic 4.4.9 PHP 8.1

**URL:** <https://forum.mautic.org/t/after-attempting-to-send-test-emails-error-500-mautic-4-4-9-php-8-1/28414>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [June 23, 2023, 3:30pm UTC](https://forum.mautic.org/t/after-attempting-to-send-test-emails-error-500-mautic-4-4-9-php-8-1/28414 "2023-06-23T15:30:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![digitalcuritiba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/digitalcuritiba/32/10061_2.png) [@digitalcuritiba](https://forum.mautic.org/u/digitalcuritiba)\
**Post date:** [June 23, 2023, 3:30pm UTC](https://forum.mautic.org/t/after-attempting-to-send-test-emails-error-500-mautic-4-4-9-php-8-1/28414/1 "2023-06-23T15:30:15Z")

</div>

Mautic 4.4.9  
PHP 8.1  
DB: Server-Version: 5.7.42 - MySQL Community Server (GPL)

Hello!  
In the email configuration, when testing the connection, I receive: success.

However, after attempting to send test emails, I receive the following error:  
500 - mautic.CRITICAL: Uncaught PHP Exception Swift\_RfcComplianceException: “Address set in PathHeader does not comply with addr-spec of RFC 2822.” at /home/

Thank you for your response.

Rolf Rostock

---

<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:** [June 23, 2023, 3:36pm UTC](https://forum.mautic.org/t/after-attempting-to-send-test-emails-error-500-mautic-4-4-9-php-8-1/28414/2 "2023-06-23T15:36:48Z")

</div>

Hi, the email address you try to send to is not correct.
