def mail()

in asfpy/messaging.py [0:0]


def mail(
        ### need py2 compat. FUTURE:
        # *,  # Parameters must be passed as arg=value, not positionally
        host=DEFAULT_MSA,
        ### maybe accept a port? for now: always 587

        # These are required:
        sender="Apache Infrastructure <users@infra.apache.org>",
        recipient=None,  # str
        recipients=None,  # str, or iterable
        subject=None,
        message=None,

        thread_start=False,
        thread_key=None,

        auth=None,  # (user, pass)

        # Deprecated:  (use thread_*)
        messageid=None,
        headers=None,