• Home
  • Raw
  • Download

Lines Matching +full:localhost +full:- +full:test +full:- +full:mac

17   >>> s=smtplib.SMTP("localhost")
26 sendmail-bugs@sendmail.org.
36 # ESMTP support, test code and doc fixes added by
145 # something weird here.. punt -ddm
163 Double leading '.', and change Unix newline '\\n', or Mac '\\r' into
164 Internet CRLF end-of-line.
183 def readline(self, size=-1):
281 A non-false value results in debug messages for connection and for all
294 def connect(self, host='localhost', port=0):
349 - server response code (e.g. '250', or such, if all goes well)
350 Note: returns -1 if it can't read response code.
352 - server response string corresponding to response code (multiline
355 Raises SMTPServerDisconnected if end-of-file is reached.
381 errcode = -1
384 if line[3:4] != "-":
418 # that happens -ddm
419 if code == -1 and len(msg) == 0:
426 #parse the ehlo response -ddm
431 # we have to take the old-style auth advertisement into account,
447 m = re.match(r'(?P<feature>[A-Za-z0-9][A-Za-z0-9\-]*) ?', each)
469 """SMTP 'rset' command -- resets session."""
473 """SMTP 'noop' command -- doesn't do anything :>"""
477 """SMTP 'mail' command -- begins mail xfer session."""
485 """SMTP 'rcpt' command -- indicates 1 recipient for this mail."""
493 """SMTP 'DATA' command -- sends message data to server.
508 if q[-2:] != CRLF:
518 """SMTP 'verify' command -- checks for address validity."""
525 """SMTP 'expn' command -- expands a mailing list."""
552 - user: The user name to authenticate with.
553 - password: The password for the authentication.
580 AUTH_CRAM_MD5 = "CRAM-MD5"
593 # ones, we prefer stronger methods like CRAM-MD5:
672 - from_addr : The address sending this mail.
673 - to_addrs : A list of addresses to send this mail to. A bare
675 - msg : The message to send.
676 - mail_options : List of ESMTP options (such as 8bitmime) for the
678 - rcpt_options : List of ESMTP options (such as DSN commands) for
707 >>> s=smtplib.SMTP("localhost")
713 ... This is a test '''
727 # Hmmm? what's this? -ddm
787 host) is used. If port is omitted, the standard SMTP-over-SSL port
789 SMTP class. keyfile and certfile are also optional - they can contain
820 """LMTP - Local Mail Transfer Protocol
839 def connect(self, host='localhost', port=0):
844 # Handle Unix-domain sockets.
861 # Test the sendmail method, which tests most of the others.
862 # Note: This always sends to localhost.
881 server = SMTP('localhost')