The following are some example usages of netius:
smtp_client = SMTPClient(auto_close = True)
smtp_client.message(
[sender],
[receiver],
contents,
host = "smtp.gmail.com",
port = 587,
username = "[email protected]",
password = "password",
stls = True
)
smtp_client = SMTPClient(auto_close = True)
smtp_client.message(
[sender],
[receiver],
contents,
host = "localhost",
port = 25,
stls = True
)