Update example.py to correctly set message headers for sender and recipient

This commit is contained in:
Edgar P. Burkhart 2025-05-16 23:21:49 +02:00
parent 84fdb3d499
commit 91a6e7af3a
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -23,7 +23,9 @@ client.new_message("example@example.org")
# Set message headers
client.headers(
{
"from": "Example <example@example.com>",
"subject": "Test",
"to": "Example <example@example.org>",
}
)
# Write message content