Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
smtplib.SMTPResponseException Class Reference
Inheritance diagram for smtplib.SMTPResponseException:
Inheritance graph
[legend]
Collaboration diagram for smtplib.SMTPResponseException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__

Public Attributes

 smtp_code
 smtp_error
 args

Detailed Description

Base class for all exceptions that include an SMTP error code.

These exceptions are generated in some instances when the SMTP
server returns an error code.  The error code is stored in the
`smtp_code' attribute of the error, and the `smtp_error' attribute
is set to the error message.

Definition at line 80 of file smtplib.py.


Constructor & Destructor Documentation

def smtplib.SMTPResponseException.__init__ (   self,
  code,
  msg 
)

Definition at line 89 of file smtplib.py.

00089 
00090     def __init__(self, code, msg):
00091         self.smtp_code = code
00092         self.smtp_error = msg
00093         self.args = (code, msg)

Here is the caller graph for this function:


Member Data Documentation

Reimplemented in smtplib.SMTPSenderRefused.

Definition at line 92 of file smtplib.py.

Reimplemented in smtplib.SMTPSenderRefused.

Definition at line 90 of file smtplib.py.

Reimplemented in smtplib.SMTPSenderRefused.

Definition at line 91 of file smtplib.py.


The documentation for this class was generated from the following file: