Spam emails are sent when using dynamic recipients
Closed this issue · 2 comments
mtnorthrop commented
Description
When using dynamic recipients, spam emails are still sent to the recipients.
The DynamicRecipientsDecorator::sendEmails()
method does not check whether $form->isMarkedAsSpam()
is true, but emails all submissions regardless of their spam status.
Steps to reproduce
- Enable honeypot spam protection on a form with dynamic recipients
- Submit the form with a non-empty honeypot field
- See that the submission has been blocked in the control panel, but the spam email has still been sent to the dynamic email address
Additional info
- Express Forms edition & version: Lite 1.0.4
- Craft version: 3.3.0.1
- PHP version: 7.2.19
kjmartens commented
@mtnorthrop Thanks for this, and very sorry for the delay. We're checking into it now. :)
kjmartens commented
This will be fixed for Express Forms 1.0.5, available this week.