Error sending email: Email "" does not comply with addr-spec of RFC 2822.

Created on 15 November 2023, over 1 year ago

Problem/Motivation

When not logged in, it seems that trying to send a contact form automatically adds the anonymous user empty email address to the "addresses" array of the email object (in reply-to I think).

Proposed resolution

Prevent getSymfonyEmail() from adding empty addresses ?
It should be fixed at the source - i.e. in this case, in the contact form module, but it could be worth not breaking the sending of any email with multiple addresses due to one empty email.

๐Ÿ’ฌ Support request
Status

Active

Version

1.4

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance Paulmicha Porto Alegre, RS, Brasil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024