Lines Matching defs:server
76 """The command or option is not supported by the SMTP server.
79 command with an option which is not supported by the server.
83 """Not connected to any SMTP server.
85 This exception is raised when the server unexpectedly disconnects,
87 connecting it to a server.
94 server returns an error code. The error code is stored in the
131 """The SMTP server didn't accept the data."""
137 """The server refused our HELO reply."""
142 Most probably the server didn't accept the username/password
191 """This class manages a connection to an SMTP or ESMTP server.
195 This is the message given by the server in response to the
199 This is the message given by the server in response to the
204 server supports ESMTP.
207 This is a dictionary, which, if the server supports ESMTP,
209 SMTP service extensions this server supports, and their
294 messages sent to and received from the server.
349 """Send `s' to the server."""
368 """Send a command to the server."""
381 """Get a reply from the server.
385 - server response code (e.g. '250', or such, if all goes well)
388 - server response string corresponding to response code (multiline
497 """Does the server support a given SMTP service extension?"""
502 Returns help text from server."""
514 Used internally in the library, since the server disconnected error
534 the server.
543 'SMTPUTF8 not supported by server')
557 """SMTP 'DATA' command -- sends message data to server.
607 SMTPHeloError The server didn't reply properly to
627 It will be called to process the server's challenge response; the
629 an ASCII string that will be base64 encoded and sent to the server.
647 # If server responds with a challenge, send the response.
654 # If server keeps sending challenges, something is wrong.
687 """Log in on an SMTP server that requires authentication.
704 SMTPHeloError The server didn't reply properly to
706 SMTPAuthenticationError The server didn't accept the username/
709 server.
717 "SMTP AUTH extension not supported by server.")
719 # Authentication methods the server claims to support
726 # the server supports them.
753 """Puts the connection to the SMTP server into TLS mode.
758 If the server supports TLS, this will encrypt the rest of the SMTP
760 the identity of the SMTP server and client can be checked. This,
766 SMTPHeloError The server didn't reply properly to
772 "STARTTLS extension not supported by server.")
795 # the server, such as the list of SMTP service extensions,
827 method tries ESMTP EHLO first. If the server does ESMTP, message size
834 error code and the accompanying error message sent by the server.
838 SMTPHeloError The server didn't reply properly to
840 SMTPRecipientsRefused The server rejected ALL recipients
842 SMTPSenderRefused The server didn't accept the from_addr.
843 SMTPDataError The server replied with an unexpected
848 the server.
899 # the server refused all our recipients
925 the recipient addresses contain non-ASCII and the server advertises the
928 If the server does not support SMTPUTF8, an SMTPNotSupported error is
974 " internationalized email support, but the server"
990 """Close the connection to the SMTP server."""
1074 host:port server. local_hostname and source_address have the same
1137 server = SMTP('localhost')
1138 server.set_debuglevel(1)
1139 server.sendmail(fromaddr, toaddrs, msg)
1140 server.quit()