On this page
  1. smtplib.SMTPSenderRefused
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

smtplib.SMTPSenderRefused

Prev: smtplib.SMTPResponseException | Up: smtplib | Next: smtplib.SMTPServerDisconnected
Rel: smtplib.quoteaddr, smtplib.quotedata, smtplib.SMTP, smtplib.SMTP_SSL
Ref: docs.python.org โ€” smtplib.SMTPSenderRefused
Tags: #public #python3 #stdlib #smtplib


Import

import smtplib
from smtplib import SMTPSenderRefused

Signature & Overview

smtplib.SMTPSenderRefused(code, msg, sender)

Sender address refused.

Methods & Attributes

Usage

import smtplib

assert issubclass(smtplib.SMTPSenderRefused, smtplib.SMTPResponseException)

Gotchas

REPL Inspect

from smtplib import SMTPSenderRefused
help(SMTPSenderRefused)

Linked from

Related notes