def main(args):
errors = send_notifications()
for (recipient, error) in errors:
print "Failed sending to %s: %s" % (recipient.email, ex)
def main(args):
errors = send_notifications()
for (recipient, error) in errors:
print "Failed sending to %s: %s" % (recipient.email, ex)