-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Origin/seamless/new emails #219
Conversation
""".format(sent_from, to, subject, body) | ||
|
||
send_email(server, email_text, sent_from, to) | ||
email_text = f"""{body} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to email_text = body
, unless you need the newline in which case = body + '\n'
. Or, eliminate email_text
altogether, and set msg.set_content(body)
below.
msg.set_content(email_text) | ||
server.send_message(msg) | ||
server.close() | ||
# send_email(server, email_text, sent_from, to) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
But note �failed CI build |
Switched to EmailMessage API
Removed unused functions