Hello,
My form has 3 conditional emails and 1 confirmation email. Two of the conditional emails, those to fixed addresses, are being sent immediately instead of after the email address is confirmed. This is a major issue as we cannot then tell whether or not the email address is being confirmed from our end.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | webform_confirm_email-conditional_emails_sent_early-1076128.patch | 1.08 KB | mattferris |
Comments
Comment #1
hirbys commentedI'm seeing what is perhaps a version of this. I have two e-mail messages associated with a form, one (call it message 'A') of type 'confirmation' and one (call it message 'B') of type 'conditional.' As with the original report of the issue, message 'B' is addressed to a fixed address, not to an address contained in a form variable. When the form is submitted, both A and B are sent, rather than B waiting until the email address has been confirmed. Assuming my setup is correct, this seems to be a bug.
Comment #2
fbo commentedSolution (strongly non-elegant would like to get back to this later):
webform_confirm_email.module:
Comment #3
mattferris commentedI've encountered the same problem, but believe it's just a bug in the SQL query in webform_confirm_email_get_email_info() function as seen in fbo's post. I removed the "s.cid=e.email" join condition and things seem to work. I've included a patch with the changes.
Comment #4
matthias_mo commentedplease get the latest git version that should fix the problem.