Cheatsheet: Difference between revisions

Content added Content deleted
Line 1,012: Line 1,012:
(output, err) = p.communicate()
(output, err) = p.communicate()
print("Today is", output)
print("Today is", output)

= SMTP =

HELO or EHLO (Hello)
MAIL FROM
250 OK reply code
RCPT TO (Recipient To)
250 OK reply code
DATA
345 reply code
250 OK code
QUIT
221 code

RSET (Reset)