- Issue created by @stingo36
In my Drupal 10 setup, I’m using ECA to send an email upon user registration. The registration form includes a CC field. In Easy Email templates, there’s a “CC” field where I can specify either a static or a token-based value. I used the token for the user’s CC field from their profile.
When the CC field is empty, I get an RFC 2822 compliance error:
> Error sending email: Email "[user:field_cc_email]" does not comply with addr-spec of RFC 2822.
However, if the CC field has a valid email, everything works fine. How can I fix this?
I tried token filter module i enabled it, in text formats i had tickmark the settings as well still am facing same issue
Active
Code