--- /dev/null
+from typing import Any\r
+\r
+class SMTPException(Exception): ...\r
+class SMTPServerDisconnected(SMTPException): ...\r
+\r
+class SMTPResponseException(SMTPException):\r
+ smtp_code = ... # type: Any\r
+ smtp_error = ... # type: Any\r
+ args = ... # type: Any\r
+ def __init__(self, code, msg) -> None: ...\r
+\r
+class SMTPSenderRefused(SMTPResponseException):\r
+ smtp_code = ... # type: Any\r
+ smtp_error = ... # type: Any\r
+ sender = ... # type: Any\r
+ args = ... # type: Any\r
+ def __init__(self, code, msg, sender) -> None: ...\r
+\r
+class SMTPRecipientsRefused(SMTPException):\r
+ recipients = ... # type: Any\r
+ args = ... # type: Any\r
+ def __init__(self, recipients) -> None: ...\r
+\r
+class SMTPDataError(SMTPResponseException): ...\r
+class SMTPConnectError(SMTPResponseException): ...\r
+class SMTPHeloError(SMTPResponseException): ...\r
+class SMTPAuthenticationError(SMTPResponseException): ...\r
+\r
+def quoteaddr(addr): ...\r
+def quotedata(data): ...\r
+\r
+class SSLFakeFile:\r
+ sslobj = ... # type: Any\r
+ def __init__(self, sslobj) -> None: ...\r
+ def readline(self, size=...): ...\r
+ def close(self): ...\r
+\r
+class SMTP:\r
+ debuglevel = ... # type: Any\r
+ file = ... # type: Any\r
+ helo_resp = ... # type: Any\r
+ ehlo_msg = ... # type: Any\r
+ ehlo_resp = ... # type: Any\r
+ does_esmtp = ... # type: Any\r
+ default_port = ... # type: Any\r
+ timeout = ... # type: Any\r
+ esmtp_features = ... # type: Any\r
+ local_hostname = ... # type: Any\r
+ def __init__(self, host: str = ..., port: int = ..., local_hostname=..., timeout=...) -> None: ...\r
+ def set_debuglevel(self, debuglevel): ...\r
+ sock = ... # type: Any\r
+ def connect(self, host=..., port=...): ...\r
+ def send(self, str): ...\r
+ def putcmd(self, cmd, args=...): ...\r
+ def getreply(self): ...\r
+ def docmd(self, cmd, args=...): ...\r
+ def helo(self, name=...): ...\r
+ def ehlo(self, name=...): ...\r
+ def has_extn(self, opt): ...\r
+ def help(self, args=...): ...\r
+ def rset(self): ...\r
+ def noop(self): ...\r
+ def mail(self, sender, options=...): ...\r
+ def rcpt(self, recip, options=...): ...\r
+ def data(self, msg): ...\r
+ def verify(self, address): ...\r
+ vrfy = ... # type: Any\r
+ def expn(self, address): ...\r
+ def ehlo_or_helo_if_needed(self): ...\r
+ def login(self, user, password): ...\r
+ def starttls(self, keyfile=..., certfile=...): ...\r
+ def sendmail(self, from_addr, to_addrs, msg, mail_options=..., rcpt_options=...): ...\r
+ def close(self): ...\r
+ def quit(self): ...\r
+\r
+class SMTP_SSL(SMTP):\r
+ default_port = ... # type: Any\r
+ keyfile = ... # type: Any\r
+ certfile = ... # type: Any\r
+ def __init__(self, host=..., port=..., local_hostname=..., keyfile=..., certfile=..., timeout=...) -> None: ...\r
+\r
+class LMTP(SMTP):\r
+ ehlo_msg = ... # type: Any\r
+ def __init__(self, host=..., port=..., local_hostname=...) -> None: ...\r
+ sock = ... # type: Any\r
+ def connect(self, host=..., port=...): ...\r