List of all members.
Definition at line 619 of file test_smtplib.py.
Constructor & Destructor Documentation
Member Function Documentation
Definition at line 264 of file asyncore.py.
00265 def __repr__(self):
00266 status = [self.__class__.__module__+"."+self.__class__.__name__]
00267 if self.accepting and self.addr:
00269 elif self.connected:
00271 if self.addr is not None:
00273 status.append('%s:%d' % self.addr)
00274 except TypeError:
00276 return '<%s at %#x>' % (' '.join(status), id(self))
Definition at line 635 of file test_smtplib.py.
00636 def handle_error(self):
@unittest.skipUnless(threading, 'Threading required for this test.')
Override this abstract method to handle messages from the client.
peer is a tuple containing (ipaddr, port) of the client that made the
socket connection to our smtp port.
mailfrom is the raw address the client claims the message is coming
rcpttos is a list of raw addresses the client wishes to deliver the
data is a string containing the entire full text of the message,
headers (if supplied) and all. It has been `de-transparencied'
according to RFC 821, Section 4.5.2. In other words, a line
containing a `.' followed by other text has had the leading dot
This function should return None, for a normal `250 Ok' response;
otherwise it returns the desired response string in RFC 821 format.
Reimplemented from smtpd.SMTPServer.
Definition at line 629 of file test_smtplib.py.
Member Data Documentation
The documentation for this class was generated from the following file: