As far as I know, the Mailhandler module does only accept mail postings from addresses that have been previously registered in the Drupal site.
However, I'd like to accept anonymous submissions, too. Is this possible and how can it be set up? Ideally, messages received from unregistered senders should remain 'unpublished' until they are reviewed by the site admin.
Thanks in advance for any assistance
--
Albert
Comments
Comment #1
dimiduj commentedsee http://drupal.org/node/226786
Comment #2
dman commentedThat link is partially useful, but I instead was expecting to be able to set up anon/unknown mails to be owned by a default/proxy/daemon user account.
I don't want many new registrations, I want my current email aliases, and those of my groupmates to just be accepted into a grab-bag account ownership.
I tried over-riding the node owner via my commands ... but that's a bit of a problem.
Comment #3
matt_paz commentedWell, I didn't wanna, but I went ahead and hacked out what I need to get what appears to be working here ...
in mailhandler_authenticat, I added
and commented out
and
... and it appears to be working now ... I didn't invest much time here, but it seems to have gotten me what I was looking to do.
Comment #4
moshe weitzman commentedThere is a hook_mailhandler where you can make changes like this before the node/comment is saved. I don't intend native support for this "proxy" user feature
Comment #5
matt_paz commentedSweet ... I'll have to explore that a little further. Thanks for the heads up!
Comment #6
matt_paz commentedAh, that is so much better. Really nice to get in there without hacking. Thanks for creating the hook!
Also, while I was in there, I realizedthat I just had to give the anonymous user access to create the node type (duh!) I wanted in order to have the external email cascade into Drupal as an anonymous user ... not exactly what I wanted, but definately workable.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
imb123 commentedI'm interested in the "proxy" feature. How would I modify the hook to allow for this? Any help is appreciated.