Hi,

I am building a community site. One of the requirements of this site is that the anonymous users should be able to send a mail to all authenticated users who belong to a particular city. I was trying to use the webform option but in webform, I had to again create the list of cities (although a field for cities exist in my registration form) and then manually add the email id of each member to the component list. Is there a better way or module for doing this?

Please advise.

Regards

Sachin

Comments

Stefan Lehmann’s picture

2 ways I would probably consider:

1: use hook_form_alter() and insert the appropriate emails programmatically.
2: tell your client out of it, because it's a stupid idea, as allowing that to anonymous users will probably lead to abuse.

:-)

I like cookies!

sachinbal’s picture

Thanks,

I will try option 1
Option 2 would be a bit difficult :-)

Regards

Sachin