Update example.py to correctly set message headers for sender and recipient
This commit is contained in:
parent
84fdb3d499
commit
91a6e7af3a
1 changed files with 2 additions and 0 deletions
|
@ -23,7 +23,9 @@ client.new_message("example@example.org")
|
||||||
# Set message headers
|
# Set message headers
|
||||||
client.headers(
|
client.headers(
|
||||||
{
|
{
|
||||||
|
"from": "Example <example@example.com>",
|
||||||
"subject": "Test",
|
"subject": "Test",
|
||||||
|
"to": "Example <example@example.org>",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
# Write message content
|
# Write message content
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue