Add X-SSL header to email
1. Type of listener the client used 2. If starttls was called
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user