Bug report
Summary
&emailBCC breaks the form report email.
Step to reproduce
Example FormIt call:
[[!FormIt?
&emailTpl=contact-report
&emailTo=client@domain.com
&emailBCC=marketing@agency.com
&emailSubject=Contact Form Submission
TRUNCATED FOR SPACE
Observed behavior
When using &emailBCC with either a single or comma-separated list of emails, the report email does not send at all. Neither the &emailTo address nor the &emailBCC address(es) receive the report email. No related errors appear in the MODX Error Log.
When removing &emailBCC, the form report email is received by the &emailTo address.
When changing &emailBCC to &emailCC, the form report email will be sent as expected with the emailCC email(s) set as CC. This is true with a single or comma-separated list of emails.
Expected behavior
The form report email should be received by the &emailTo and &emailBCC addresses.
Environment
NGINX via MODX Cloud / MODX v3.0.4-pl / PHP 8.1 / FormIt v5.0.1-pl
Bug report
Summary
&emailBCC breaks the form report email.
Step to reproduce
Example FormIt call:
[[!FormIt?
&emailTpl=
contact-report&emailTo=
client@domain.com&emailBCC=
marketing@agency.com&emailSubject=
Contact Form SubmissionTRUNCATED FOR SPACEObserved behavior
When using &emailBCC with either a single or comma-separated list of emails, the report email does not send at all. Neither the &emailTo address nor the &emailBCC address(es) receive the report email. No related errors appear in the MODX Error Log.
When removing &emailBCC, the form report email is received by the &emailTo address.
When changing &emailBCC to &emailCC, the form report email will be sent as expected with the emailCC email(s) set as CC. This is true with a single or comma-separated list of emails.
Expected behavior
The form report email should be received by the &emailTo and &emailBCC addresses.
Environment
NGINX via MODX Cloud / MODX v3.0.4-pl / PHP 8.1 / FormIt v5.0.1-pl