Add X-SSL header to email

1. Type of listener the client used
2. If starttls was called
This commit is contained in:
2024-05-24 22:00:28 -04:00
parent 57d0eeaf0f
commit 92dc1ab713
2 changed files with 9 additions and 3 deletions

View File

@ -61,6 +61,7 @@ class TestSMTP(unittest.IsolatedAsyncioTestCase):
X-Peer: ('127.0.0.1', {local_port})
X-MailFrom: foo@sender.com
X-RcptTo: foo@bar.com
X-SSL: Type: plain, STARTTLS: False
Hello world
Byee