messages/email_.py
def _add_body(self):
        """Add body content of email."""
        if self.body:
            b = MIMEText("text", "plain")
            b.set_payload(self.body)
            self.message.attach(b)
def _add_body(self):
        if self.body:
            b = MIMEText("text", "plain")
            b.set_payload(self.body)
            self.message.attach(b)
def _add_body ( self ) : if self . body : b = MIMEText ( "text" , "plain" ) b . set_payload ( self . body ) self . message . attach ( b )
Add body content of email.
Add body content of email .