$83 GRAYBYTE WORDPRESS FILE MANAGER $31

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 147.79.69.84 | ADMIN IP 216.73.216.63
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib64/python3.6/email/mime/

HOME
Current File : /lib64/python3.6/email/mime//multipart.py
# Copyright (C) 2002-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

"""Base class for MIME multipart/* type messages."""

__all__ = ['MIMEMultipart']

from email.mime.base import MIMEBase



class MIMEMultipart(MIMEBase):
    """Base class for MIME multipart/* type messages."""

    def __init__(self, _subtype='mixed', boundary=None, _subparts=None,
                 *, policy=None,
                 **_params):
        """Creates a multipart/* type message.

        By default, creates a multipart/mixed message, with proper
        Content-Type and MIME-Version headers.

        _subtype is the subtype of the multipart content type, defaulting to
        `mixed'.

        boundary is the multipart boundary string.  By default it is
        calculated as needed.

        _subparts is a sequence of initial subparts for the payload.  It
        must be an iterable object, such as a list.  You can always
        attach new subparts to the message by using the attach() method.

        Additional parameters for the Content-Type header are taken from the
        keyword arguments (or passed into the _params argument).
        """
        MIMEBase.__init__(self, 'multipart', _subtype, policy=policy, **_params)

        # Initialise _payload to an empty list as the Message superclass's
        # implementation of is_multipart assumes that _payload is a list for
        # multipart messages.
        self._payload = []

        if _subparts:
            for p in _subparts:
                self.attach(p)
        if boundary:
            self.set_boundary(boundary)

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
28 Feb 2025 12.45 AM
root / root
0755
__pycache__
--
28 Feb 2025 12.45 AM
root / root
0755
__init__.py
0 KB
5 Dec 2024 1.10 PM
root / root
0644
application.py
1.29 KB
23 Dec 2018 9.37 PM
root / root
0644
audio.py
2.675 KB
23 Dec 2018 9.37 PM
root / root
0644
base.py
0.895 KB
23 Dec 2018 9.37 PM
root / root
0644
image.py
1.786 KB
23 Dec 2018 9.37 PM
root / root
0644
message.py
1.286 KB
23 Dec 2018 9.37 PM
root / root
0644
multipart.py
1.583 KB
23 Dec 2018 9.37 PM
root / root
0644
nonmultipart.py
0.675 KB
23 Dec 2018 9.37 PM
root / root
0644
text.py
1.403 KB
23 Dec 2018 9.37 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF