-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Otherwise, we must create the Mail and then set the reply_to thanks to its setter. (and we have to dig the code to find out).
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,7 @@ def test_single_email_to_a_single_recipient(self): | |
message = Mail( | ||
from_email=From('[email protected]', 'Example From Name'), | ||
to_emails=To('[email protected]', 'Example To Name'), | ||
reply_to=ReplyTo('[email protected]', 'Example Reply To Name'), | ||
subject=Subject('Sending with SendGrid is Fun'), | ||
plain_text_content=PlainTextContent( | ||
'and easy to do anywhere, even with Python'), | ||
|
@@ -123,6 +124,10 @@ def test_single_email_to_a_single_recipient(self): | |
"email": "[email protected]", | ||
"name": "Example From Name" | ||
}, | ||
"reply_to": { | ||
"email": "[email protected]", | ||
"name": "Example Reply To Name" | ||
}, | ||
"personalizations": [ | ||
{ | ||
"to": [ | ||
|