Error checking for send-to-role
aharown07 - April 8, 2009 - 14:05
| Project: | User registration notification |
| Version: | 6.x-1.10 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Had module configured to send to a particular email address and also a role, but there was nobody in the role. Result was "unable to send email...." error when users registered, even though they were getting the usual verif. email themselves.
Would be slick if the module could check for that on the config page and indicate "there is nobody in that role" or something.
Better yet, it could just gracefully ignore the role if nobody is in it?
(I'm not entirely sure, but I think that the send notify email address doesn't get the email in this scenario either.... so having an empty role may be breaking the whole send process)

#1
I will look into it. It should just log an error. Will need to look into a fix since we know about it.
Thanks
Robert
#2
Occurs to me now that I may have actually had an account in that role but that the account had an invalid email address. Will try to test that theory soon.
OK, I can verify that error msg appears when I specify a role w/nobody in it... and so far it also does appear that the email address I entered did not receive the notify msg either.