Skip to content

Commit

Permalink
Merge pull request #264 from GoogleCloudPlatform/sendgrid
Browse files Browse the repository at this point in the history
Minor Sendgrid fixup
  • Loading branch information
waprin committed Apr 15, 2016
2 parents 0aa7d68 + 903ce7e commit 393c8a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appengine/sendgrid/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ def send_simple_message(recipient):
message.set_subject('message subject')
message.set_html('<strong>HTML message body</strong>')
message.set_text('plaintext message body')
message.set_from('from: Example Sender <mailgun@{}>'.format(
SENDGRID_DOMAIN))
message.set_from('App Engine App <sendgrid@{}>'.format(SENDGRID_DOMAIN))
message.set_from('Example App Engine Sender <sendgrid@{}>'.format(
SENDGRID_DOMAIN))
message.add_to(recipient)
status, msg = sg.send(message)
return (status, msg)
Expand Down

0 comments on commit 393c8a3

Please sign in to comment.