Module Expr Str ImportFrom alias Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore BoolOpAnd NameLoad CompareGtE SubscriptLoad AttributeLoad NameLoad attr Index Num Num If NameLoad body Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad ImportFrom alias Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore TupleLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults vararg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad TryExcept body If UnaryOpNot Call NameLoad NameLoad NameLoad body If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad Str attr ListComp Call NameLoad NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad Str attr TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Return Call NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd NameLoad BoolOpOr CompareIn Str NameLoad CompareIn Str NameLoad body Return NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assert AttributeLoad NameLoad attr Str Assert AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr body Raise NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad BoolOpOr NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr IfExp NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore BoolOpOr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr If Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpBitOr BinOpBitOr Call NameLoad AttributeLoad NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr TupleLoad Call NameLoad BoolOpOr AttributeLoad NameLoad attr TupleLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr AttributeLoad NameLoad attr ListLoad If BoolOpAnd CompareEq Call NameLoad NameLoad Num UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd CompareGt Call NameLoad NameLoad Num UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr TryExcept body Expr BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore TupleLoad Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If NameLoad body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr BoolOpOr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body If Call NameLoad NameLoad body Return NameLoad If AttributeLoad NameLoad attr body If Call NameLoad AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body If UnaryOpNot NameLoad body Return NameLoad If BoolOpAnd CompareGt NameLoad Num CompareNotIn SubscriptLoad NameLoad Index Num Str body Return NameLoad If Call NameLoad NameLoad body Return NameLoad If CompareEq Call NameLoad Call AttributeLoad NameLoad attr Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Str Expr Call NameLoad Call NameLoad NameLoad keyword Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad TryFinally body Expr Yield NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpOr Call NameLoad NameLoad Str NameLoad NameLoad TryExcept body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Return Call NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str
N/A N/A 
    flaskext.mail
    ~~~~~~~~~~~~~

    Flask extension for sending email.

    :copyright: (c) 2010 by Dan Jacob.
    :license: BSD, see LICENSE for more details.
 __future__ with_statement N/A __version__ 0.9.1 N/A re N/A blinker N/A smtplib N/A sys N/A time N/A unicodedata email charset email.encoders encode_base64 email.mime.base MIMEBase email.mime.multipart MIMEMultipart email.mime.text MIMEText email.header Header email.utils formatdate formataddr make_msgid parseaddr contextlib contextmanager flask current_app N/A PY3 N/A N/A N/A sys version_info N/A 0 3 N/A PY34 N/A PY3 N/A N/A N/A sys version_info N/A 1 4 N/A PY3 N/A N/A string_types N/A str N/A text_type str email policy N/A message_policy N/A policy SMTP N/A N/A string_types N/A basestring N/A text_type unicode N/A message_policy None N/A N/A N/A charset add_charset utf-8 N/A charset SHORTEST None utf-8 FlaskMailUnicodeDecodeError N/A UnicodeDecodeError N/A __init__ N/A N/A self obj N/A args N/A N/A N/A self obj obj N/A N/A N/A UnicodeDecodeError __init__ self args N/A __str__ N/A N/A self N/A N/A N/A original N/A N/A UnicodeDecodeError __str__ self N/A N/A %s. You passed in %r (%s) N/A original N/A self obj N/A type N/A self obj N/A N/A force_text N/A N/A s encoding errors N/A utf-8 strict N/A N/A 
    Similar to smart_text, except that lazy instances are resolved to
    strings, rather than kept as lazy objects.

    If strings_only is True, don't convert (some) non-string-like objects.
     N/A N/A isinstance s text_type N/A N/A s N/A N/A N/A N/A N/A isinstance s string_types N/A N/A PY3 N/A N/A N/A isinstance s bytes N/A N/A s N/A text_type s encoding errors N/A N/A s N/A text_type s N/A N/A N/A hasattr s __unicode__ N/A N/A s N/A N/A s __unicode__ N/A N/A s N/A text_type N/A bytes s encoding errors N/A N/A s N/A N/A s decode encoding errors N/A N/A N/A UnicodeDecodeError N/A e N/A N/A N/A N/A isinstance s Exception N/A N/A N/A FlaskMailUnicodeDecodeError s N/A e args N/A N/A s N/A N/A join N/A N/A force_text arg encoding strings_only errors N/A arg s N/A s N/A sanitize_subject N/A N/A subject encoding N/A utf-8 N/A N/A N/A N/A N/A N/A subject encode ascii N/A N/A N/A UnicodeEncodeError N/A N/A N/A N/A subject N/A N/A N/A Header subject encoding encode N/A N/A N/A UnicodeEncodeError N/A N/A subject N/A N/A N/A Header subject utf-8 encode N/A subject N/A sanitize_address N/A N/A addr encoding N/A utf-8 N/A N/A N/A isinstance addr string_types N/A N/A addr N/A parseaddr N/A force_text addr N/A N/A nm addr addr N/A N/A N/A nm N/A N/A N/A Header nm encoding encode N/A N/A N/A UnicodeEncodeError N/A N/A nm N/A N/A N/A Header nm utf-8 encode N/A N/A N/A N/A N/A addr encode ascii N/A N/A N/A UnicodeEncodeError N/A N/A N/A @ addr N/A N/A N/A localpart domain N/A N/A addr split @ 1 N/A localpart N/A str N/A Header localpart encoding N/A domain N/A N/A N/A N/A domain encode idna decode ascii N/A addr N/A N/A @ join N/A localpart domain N/A N/A addr N/A N/A N/A Header addr encoding encode N/A N/A formataddr N/A nm addr N/A sanitize_addresses N/A N/A addresses encoding N/A utf-8 N/A N/A N/A map N/A N/A N/A e N/A N/A sanitize_address e encoding addresses N/A _has_newline N/A N/A line N/A N/A N/A Used by has_bad_header to check for \r or \n N/A N/A line N/A N/A line N/A line N/A N/A True N/A False N/A Connection N/A object N/A N/A Handles connection to host. __init__ N/A N/A self mail N/A N/A N/A N/A self mail mail N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A self mail suppress N/A N/A N/A self host None N/A N/A N/A self host N/A N/A self configure_host N/A N/A self num_emails 0 N/A self N/A __exit__ N/A N/A self exc_type exc_value tb N/A N/A N/A N/A self host N/A N/A N/A N/A N/A self host quit N/A configure_host N/A N/A self N/A N/A N/A N/A N/A self mail use_ssl N/A N/A host N/A N/A smtplib SMTP_SSL N/A N/A self mail server N/A N/A self mail port N/A N/A host N/A N/A smtplib SMTP N/A N/A self mail server N/A N/A self mail port N/A N/A N/A host set_debuglevel N/A int N/A N/A self mail debug N/A N/A N/A self mail use_tls N/A N/A N/A N/A host starttls N/A N/A N/A N/A self mail username N/A N/A self mail password N/A N/A N/A N/A host login N/A N/A self mail username N/A N/A self mail password N/A host N/A send N/A N/A self message envelope_from N/A None N/A N/A Verifies and sends message.

        :param message: Message instance.
        :param envelope_from: Email address to be used in MAIL FROM command.
         N/A N/A message send_to No recipients have been added N/A N/A message sender The message does not specify a sender and a default sender has not been configured N/A N/A N/A message has_bad_headers N/A N/A BadHeaderError N/A N/A N/A message date None N/A N/A N/A message date N/A N/A time time N/A N/A self host N/A N/A N/A N/A N/A self host sendmail N/A sanitize_address N/A envelope_from N/A message sender N/A list N/A sanitize_addresses N/A message send_to N/A PY3 N/A N/A message as_bytes N/A N/A message as_string N/A message mail_options N/A message rcpt_options N/A N/A N/A email_dispatched send message app N/A N/A current_app _get_current_object N/A N/A self num_emails 1 N/A N/A N/A self num_emails N/A N/A self mail max_emails N/A N/A N/A self num_emails 0 N/A N/A self host N/A N/A N/A N/A N/A self host quit N/A N/A self host N/A N/A self configure_host N/A send_message N/A N/A self N/A args kwargs N/A N/A Shortcut for send(msg).

        Takes same arguments as Message constructor.

        :versionadded: 0.3.5
         N/A N/A N/A self send N/A Message args kwargs N/A N/A BadHeaderError N/A Exception N/A N/A N/A Attachment N/A object N/A N/A Encapsulates file attachment information.

    :versionadded: 0.3.5

    :param filename: filename of attachment
    :param content_type: file mimetype
    :param data: the raw file data
    :param disposition: content-disposition (if any)
     __init__ N/A N/A self filename content_type data disposition headers N/A None None None None None N/A N/A N/A self filename filename N/A N/A self content_type content_type N/A N/A self data data N/A N/A self disposition N/A disposition attachment N/A N/A self headers N/A headers N/A N/A N/A Message N/A object N/A N/A Encapsulates an email message.

    :param subject: email subject header
    :param recipients: list of email addresses
    :param body: plain text message
    :param html: HTML message
    :param alts: A dict or an iterable to go through dict() that contains multipart alternatives
    :param sender: email sender address, or **MAIL_DEFAULT_SENDER** by default
    :param cc: CC list
    :param bcc: BCC list
    :param attachments: list of Attachment instances
    :param reply_to: reply-to address
    :param date: send date
    :param charset: message character set
    :param extra_headers: A dictionary of additional headers for the message
    :param mail_options: A list of ESMTP options to be used in MAIL FROM command
    :param rcpt_options:  A list of ESMTP options to be used in RCPT commands
     __init__ N/A N/A self subject recipients body html alts sender cc bcc attachments reply_to date charset extra_headers mail_options rcpt_options N/A None None None None None None None None None None None None None None N/A N/A sender N/A sender N/A N/A N/A current_app extensions N/A mail default_sender N/A N/A isinstance sender tuple N/A N/A sender N/A %s <%s> sender N/A N/A self recipients N/A recipients N/A N/A N/A self subject subject N/A N/A self sender sender N/A N/A self reply_to reply_to N/A N/A self cc N/A cc N/A N/A N/A self bcc N/A bcc N/A N/A N/A self body body N/A N/A self alts N/A dict N/A alts N/A N/A N/A self html html N/A N/A self date date N/A N/A self msgId N/A make_msgid N/A N/A self charset charset N/A N/A self extra_headers extra_headers N/A N/A self mail_options N/A mail_options N/A N/A N/A self rcpt_options N/A rcpt_options N/A N/A N/A self attachments N/A attachments N/A N/A send_to N/A N/A self N/A N/A N/A N/A N/A N/A set N/A self recipients N/A set N/A N/A self bcc N/A N/A set N/A N/A self cc N/A N/A property html N/A N/A self N/A N/A N/A N/A N/A N/A self alts get html N/A property html N/A N/A self value N/A N/A N/A N/A value None N/A N/A N/A N/A N/A self alts pop html None N/A N/A N/A N/A self alts N/A html value N/A N/A html setter _mimetext N/A N/A self text subtype N/A plain N/A N/A Creates a MIMEText object with the given subtype (default: 'plain')
        If the text is unicode, the utf-8 charset is used.
         N/A charset N/A N/A self charset utf-8 N/A N/A MIMEText text _subtype subtype _charset charset N/A _message N/A N/A self N/A N/A N/A Creates the email N/A ascii_attachments N/A N/A N/A current_app extensions N/A mail ascii_attachments N/A encoding N/A N/A self charset utf-8 N/A attachments N/A N/A self attachments N/A N/A N/A N/A N/A len attachments 0 N/A N/A self alts N/A N/A msg N/A N/A self _mimetext N/A self body N/A N/A N/A N/A N/A len attachments 0 N/A N/A self alts N/A N/A msg N/A MIMEMultipart N/A N/A N/A msg attach N/A N/A self _mimetext N/A self body N/A N/A msg N/A MIMEMultipart N/A alternative N/A MIMEMultipart alternative N/A N/A N/A alternative attach N/A N/A self _mimetext N/A self body plain N/A N/A mimetype content N/A N/A N/A self alts items N/A N/A N/A N/A alternative attach N/A N/A self _mimetext content mimetype N/A N/A N/A msg attach alternative N/A N/A self subject N/A N/A N/A msg N/A Subject N/A sanitize_subject N/A force_text N/A self subject encoding N/A N/A msg N/A From N/A sanitize_address N/A self sender encoding N/A N/A msg N/A To N/A N/A ,  join N/A list N/A set N/A sanitize_addresses N/A self recipients encoding N/A N/A msg N/A Date N/A formatdate N/A self date localtime True N/A N/A msg N/A Message-ID N/A self msgId N/A N/A self cc N/A N/A N/A msg N/A Cc N/A N/A ,  join N/A list N/A set N/A sanitize_addresses N/A self cc encoding N/A N/A self reply_to N/A N/A N/A msg N/A Reply-To N/A sanitize_address N/A self reply_to encoding N/A N/A self extra_headers N/A N/A N/A k v N/A N/A N/A self extra_headers items N/A N/A N/A msg N/A k v N/A SPACES N/A N/A re compile [\s]+ N/A re UNICODE N/A attachment attachments N/A N/A f N/A MIMEBase N/A N/A N/A attachment content_type split / N/A N/A N/A f set_payload N/A attachment data N/A N/A encode_base64 f N/A filename N/A attachment filename N/A N/A filename ascii_attachments N/A N/A filename N/A N/A unicodedata normalize NFKD filename N/A filename N/A N/A N/A N/A filename encode ascii ignore decode ascii N/A filename N/A N/A N/A N/A SPACES sub filename strip N/A N/A N/A N/A filename N/A N/A filename encode ascii N/A N/A N/A UnicodeEncodeError N/A N/A N/A PY3 N/A N/A filename N/A N/A filename encode utf8 N/A filename N/A UTF8 filename N/A N/A N/A f add_header Content-Disposition N/A attachment disposition filename filename N/A N/A key value N/A N/A N/A attachment headers items N/A N/A N/A N/A f add_header key value N/A N/A N/A msg attach f N/A message_policy N/A N/A N/A msg policy message_policy N/A msg N/A as_string N/A N/A self N/A N/A N/A N/A N/A N/A N/A self _message as_string N/A as_bytes N/A N/A self N/A N/A N/A PY34 N/A N/A N/A N/A N/A N/A self _message as_bytes N/A N/A N/A N/A N/A N/A N/A N/A self _message as_string encode N/A N/A self charset utf-8 N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self as_string N/A __bytes__ N/A N/A self N/A N/A N/A N/A N/A self as_bytes N/A has_bad_headers N/A N/A self N/A N/A N/A Checks for bad headers i.e. newlines in subject, sender or recipients.
        RFC5322: Allows multiline CRLF with trailing whitespace (FWS) in headers
         N/A headers N/A N/A N/A self sender N/A self reply_to N/A self recipients N/A header headers N/A N/A N/A _has_newline header N/A N/A True N/A N/A self subject N/A N/A N/A _has_newline N/A self subject N/A N/A N/A linenum line N/A enumerate N/A N/A N/A self subject split N/A N/A N/A line N/A N/A True N/A N/A N/A linenum 0 N/A N/A line N/A 0 N/A N/A True N/A N/A _has_newline line N/A N/A True N/A N/A N/A len N/A N/A line strip 0 N/A N/A True N/A False N/A is_bad_headers N/A N/A self N/A N/A warnings warn N/A msg is_bad_headers is deprecated, use the new has_bad_headers method instead. N/A N/A warn N/A DeprecationWarning msg stacklevel 1 N/A N/A N/A self has_bad_headers N/A send N/A N/A self connection N/A N/A N/A Verifies and sends the message. N/A N/A N/A connection send self N/A add_recipient N/A N/A self recipient N/A N/A N/A Adds another recipient to the message.

        :param recipient: email address of recipient.
         N/A N/A N/A N/A self recipients append recipient N/A attach N/A N/A self filename content_type data disposition headers N/A None None None None None N/A N/A Adds an attachment to the message.

        :param filename: filename of attachment
        :param content_type: file mimetype
        :param data: the raw file data
        :param disposition: content-disposition (if any)
         N/A N/A N/A N/A self attachments append N/A Attachment filename content_type data disposition headers N/A N/A _MailMixin N/A object N/A record_messages N/A N/A self N/A N/A N/A Records all messages. Use in unit tests for example::

            with mail.record_messages() as outbox:
                response = app.test_client.get("/email-sending-view/")
                assert len(outbox) == 1
                assert outbox[0].subject == "testing"

        You must have blinker installed in order to use this feature.
        :versionadded: 0.4
         N/A N/A email_dispatched N/A N/A N/A RuntimeError blinker must be installed N/A outbox N/A _record N/A N/A message app N/A N/A N/A N/A N/A outbox append message N/A N/A N/A N/A email_dispatched connect _record N/A N/A N/A N/A outbox N/A N/A N/A N/A email_dispatched disconnect _record N/A contextmanager send N/A N/A self message N/A N/A N/A Sends a single message instance. If TESTING is True the message will
        not actually be sent.

        :param message: a Message instance.
         N/A N/A N/A self connect connection N/A N/A N/A N/A message send connection N/A send_message N/A N/A self N/A args kwargs N/A N/A Shortcut for send(msg).

        Takes same arguments as Message constructor.

        :versionadded: 0.3.5
         N/A N/A N/A self send N/A Message args kwargs N/A connect N/A N/A self N/A N/A N/A Opens a connection to the mail host. N/A app N/A N/A getattr self app None current_app N/A N/A N/A N/A Connection N/A N/A app extensions N/A mail N/A N/A N/A KeyError N/A N/A N/A RuntimeError The curent application was not configured with Flask-Mail N/A N/A _Mail N/A _MailMixin N/A __init__ N/A N/A self server username password port use_tls use_ssl default_sender debug max_emails suppress ascii_attachments N/A False N/A N/A N/A self server server N/A N/A self username username N/A N/A self password password N/A N/A self port port N/A N/A self use_tls use_tls N/A N/A self use_ssl use_ssl N/A N/A self default_sender default_sender N/A N/A self debug debug N/A N/A self max_emails max_emails N/A N/A self suppress suppress N/A N/A self ascii_attachments ascii_attachments N/A N/A Mail N/A _MailMixin N/A N/A Manages email messaging

    :param app: Flask instance
     __init__ N/A N/A self app N/A None N/A N/A N/A self app app N/A N/A app None N/A N/A N/A self state N/A N/A self init_app app N/A N/A N/A self state None N/A init_mail N/A N/A self config debug testing N/A False False N/A N/A N/A _Mail N/A N/A config get MAIL_SERVER 127.0.0.1 N/A N/A config get MAIL_USERNAME N/A N/A config get MAIL_PASSWORD N/A N/A config get MAIL_PORT 25 N/A N/A config get MAIL_USE_TLS False N/A N/A config get MAIL_USE_SSL False N/A N/A config get MAIL_DEFAULT_SENDER N/A int N/A N/A config get MAIL_DEBUG debug N/A N/A config get MAIL_MAX_EMAILS N/A N/A config get MAIL_SUPPRESS_SEND testing N/A N/A config get MAIL_ASCII_ATTACHMENTS False N/A init_app N/A N/A self app N/A N/A N/A Initializes your mail settings from the application settings.

        You can use this if you want to set up your Mail instance
        at configuration time.

        :param app: Flask application instance
         N/A state N/A N/A self init_mail N/A app config N/A app debug N/A app testing N/A N/A app extensions N/A getattr app extensions N/A N/A N/A N/A app extensions N/A mail state N/A state N/A __getattr__ N/A N/A self name N/A N/A N/A N/A getattr N/A self state name None N/A N/A N/A signals N/A N/A blinker Namespace N/A email_dispatched N/A N/A signals signal email-dispatched doc 
Signal sent when an email is dispatched. This signal will also be sent
in testing mode, even though the email will not actually be sent.
