Commit 377e7d75 authored by Sebastian Neuser's avatar Sebastian Neuser
Browse files

Print recipient addresses as e-mails are sent even without -v

parent 398bcf61
......@@ -73,8 +73,7 @@ def main():
if args.verbose:
print('Sending messages')
for rcpt in data['recipients']:
if args.verbose:
print('To {}'.format(rcpt['addr']))
print('-> {}'.format(rcpt['addr']))
try:
message = EmailMessage()
message['Subject'] = data['subject']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment