Module smtplib :: Class SMTPSenderRefused
[hide private]
[frames] | no frames]

type SMTPSenderRefused

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                   SMTPException --+    
                                   |    
               SMTPResponseException --+
                                       |
                                      SMTPSenderRefused

Sender address refused.

In addition to the attributes set by on all SMTPResponseException exceptions, this sets `sender' to the string that the SMTP refused.

Instance Methods [hide private]
 
__init__(self, code, msg, sender)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Method Details [hide private]

__init__(self, code, msg, sender)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: exceptions.BaseException.__init__
(inherited documentation)