You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the Mautic repo (not recommended or supported)
PHP version
8.2
What browsers are you seeing the problem on?
Not relevant
What happened?
When trying to send example email with recreated recipient field, an error 500 occurs. I found that removing existing recipient from the list and creating the new one causes that the example_send[email][list] field has unset elements. For example, with one recipient without any changes, their email will be sent in example_send[email][list][0], but when that field removed and created again, it will be in example_send[email][list][1].
How can we reproduce this issue?
Step 1: On 'Emails' page, select some email channel
Step 2: Click the dropdown icon, and then select 'Send Example'
Step 3: Remove existing recipient from 'Recipients' list
Step 4: Click 'Add recipient'
Step 5: On the new field, type desired email address
Step 6: Click 'Send' button
Relevant log output
[2025-01-14T10:30:25.706423+00:00] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Mime\Exception\RfcComplianceException: "Email "1" does not comply with addr-spec of RFC 2822." at /home/www/mautic/www/vendor/symfony/mime/Address.php line 56 {"exception":"[object] (Symfony\\Component\\Mime\\Exception\\RfcComplianceException(code: 0): Email \"1\" does not comply with addr-spec of RFC 2822. at /home/www/mautic/www/vendor/symfony/mime/Address.php:56)"} {"hostname":"mautic.local","pid":5301}
Code of Conduct
I confirm that I have read and agree to follow this project's Code of Conduct
Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.
The text was updated successfully, but these errors were encountered:
Mautic Series
5.2.x series
Mautic installed version
5.2.1
Way of installing
I cloned the Mautic repo (not recommended or supported)
PHP version
8.2
What browsers are you seeing the problem on?
Not relevant
What happened?
When trying to send example email with recreated recipient field, an error 500 occurs. I found that removing existing recipient from the list and creating the new one causes that the
example_send[email][list]
field has unset elements. For example, with one recipient without any changes, their email will be sent inexample_send[email][list][0]
, but when that field removed and created again, it will be inexample_send[email][list][1]
.How can we reproduce this issue?
Step 1: On 'Emails' page, select some email channel
Step 2: Click the dropdown icon, and then select 'Send Example'
Step 3: Remove existing recipient from 'Recipients' list
Step 4: Click 'Add recipient'
Step 5: On the new field, type desired email address
Step 6: Click 'Send' button
Relevant log output
Code of Conduct
Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.
The text was updated successfully, but these errors were encountered: