mail: more info si skip envoi vers mail invalide
This commit is contained in:
parent
df4d564ffb
commit
f6609980fc
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class ServerConnection(object):
|
|||
adh = data.get('adh', data.get('proprio', ''))
|
||||
to = data.get('to', None) or (adh.get_mail() if adh else None)
|
||||
if to is None:
|
||||
print "No valid recipient mail. Aborting."
|
||||
print "Pas de mail valide pour %r. Skipping..." % (adh, )
|
||||
return
|
||||
# TODO: get lang toussa
|
||||
body = generate(tpl_name, data).as_string()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue