diff -r 8a74f5cc12b1 -r 3cfaa7dfd9e0 app/soc/logic/mail_dispatcher.py --- a/app/soc/logic/mail_dispatcher.py Sun Apr 19 10:26:11 2009 +0000 +++ b/app/soc/logic/mail_dispatcher.py Sun Apr 19 10:28:35 2009 +0000 @@ -148,11 +148,11 @@ # use the email address of the current logged in user account = accounts.getCurrentAccount(normalize=False) - # we need to retrieve account seperately, as user_logic normalizes it + # we need to retrieve account separately, as user_logic normalizes it # and the GAE admin API is case sensitive user_entity = user_logic.logic.getForAccount(account) - if not account: + if not (account and user_entity): logging.warning('Non-Authenticated user triggered getDefaultMailSender') return None