Skip to content

Commit 393c8a3

Browse files
committed
Merge pull request #264 from GoogleCloudPlatform/sendgrid
Minor Sendgrid fixup
2 parents 0aa7d68 + 903ce7e commit 393c8a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

appengine/sendgrid/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ def send_simple_message(recipient):
3434
message.set_subject('message subject')
3535
message.set_html('<strong>HTML message body</strong>')
3636
message.set_text('plaintext message body')
37-
message.set_from('from: Example Sender <mailgun@{}>'.format(
38-
SENDGRID_DOMAIN))
39-
message.set_from('App Engine App <sendgrid@{}>'.format(SENDGRID_DOMAIN))
37+
message.set_from('Example App Engine Sender <sendgrid@{}>'.format(
38+
SENDGRID_DOMAIN))
4039
message.add_to(recipient)
4140
status, msg = sg.send(message)
4241
return (status, msg)

0 commit comments

Comments
 (0)