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)

Comments

rmiddle’s picture

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

aharown07’s picture

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.

rmiddle’s picture

Status: Active » Patch (to be ported)

need to look into adding some error checking for this.

Thanks
Robert

rmiddle’s picture

Version: 6.x-1.10 » 7.x-1.x-dev
rmiddle’s picture

This should also fix the issues people with PG have been having.

Thanks
Robert

ben coleman’s picture

Where's the patch?

rmiddle’s picture

Status: Patch (to be ported) » Needs work

I guess I should have put it under the status of needs work.

Thanks
Robert

hass’s picture

Issue summary: View changes
Status: Needs work » Fixed

I have added a watchdog warning if no receipient was found. Hopefully that fits.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.