Anonymous users are not allowed to send themselves a copy because it can be abused to spam people. In the submit handler, the option is checked directly and a notice is produced.
I have set the patch RTBC beacuse it only adds a simple isset before using the value.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | contact-copy-check-210260-2.patch | 648 bytes | dropcube |
| contact-copy-check.patch | 734 bytes | dropcube |
Comments
Comment #1
gábor hojtsyWhat about adding a #value field with FALSE for the copy field, if the user is not allowed to ask for a copy. That would make it simpler to handle this situation in other modules as well (so that isset()s can be avoided).
Comment #2
dropcube commentedOk, the patch adds a value field set to FALSE if the user is anonymous, this way the isset() is not required as Gábor suggested.
Again, I have set the status RTBC beacuse the patch is really simple.
Comment #3
gábor hojtsyThanks, committed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
Monzer Emam commentedif the Category aut-reply is set the contact form still email the anonymous user a copy
Comment #6
dave reidYes, that's by design. It's an auto-reply. Please don't open closed-for-two-years issues either.