Skip to content
Snippets Groups Projects
Commit a1ff02f6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

add the sender in Bcc of the mail

parent cd06e014
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ def greet(to, sender):
msg['Subject'] = 'Welcome in Gepetto !'
msg['From'] = sender
msg['To'] = to
msg['Bcc'] = sender
s = SMTP('localhost')
s.send_message(msg)
s.quit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment