diff -r 00b1b6b906cf -r 97c55baefa0c sobjects/notification.py --- a/sobjects/notification.py Thu Jul 15 12:03:13 2010 +0200 +++ b/sobjects/notification.py Mon Jul 19 15:37:02 2010 +0200 @@ -46,7 +46,8 @@ mode = self._cw.vreg.config['default-recipients-mode'] if mode == 'users': execute = self._cw.execute - dests = [(u.get_email(), u.property_value('ui.language')) + dests = [(u.cw_adapt_to('IEmailable').get_email(), + u.property_value('ui.language')) for u in execute(self.user_rql, build_descr=True).entities()] elif mode == 'default-dest-addrs': lang = self._cw.vreg.property_value('ui.language')