(self, unixfrom=False, maxheaderlen=None, policy=None)
return super().as_string(unixfrom, maxheaderlen, policy)
Return the entire formatted message as a string.

        Optional 'unixfrom', when true, means include the Unix From_ envelope
        header.  maxheaderlen is retained for backward compatibility with the
        base Message class, but defaults to None, meaning that the policy value
        for max_line_length controls the header maximum length.  'policy' is
        passed to the Generator instance used to serialize the message; if it
        is not specified the policy associated with the message instance is
        used.
Return the entire formatted message as a string.
Return the entire formatted message as a string .
def as_string(self, unixfrom=False, maxheaderlen=None, policy=None):
        """Return the entire formatted message as a string.

        Optional 'unixfrom', when true, means include the Unix From_ envelope
        header.  maxheaderlen is retained for backward compatibility with the
        base Message class, but defaults to None, meaning that the policy value
        for max_line_length controls the header maximum length.  'policy' is
        passed to the Generator instance used to serialize the message; if it
        is not specified the policy associated with the message instance is
        used.
        """
        policy = self.policy if policy is None else policy
        if maxheaderlen is None:
            maxheaderlen = policy.max_line_length
        return super().as_string(unixfrom, maxheaderlen, policy)
def as_string ( self , unixfrom = False , maxheaderlen = None , policy = None ) : policy = self . policy if policy is None else policy if maxheaderlen is None : maxheaderlen = policy . max_line_length return super ( ) . as_string ( unixfrom , maxheaderlen , policy )