pub fn html<S: Into<String>>(self, body: S) -> EmailBuilder {
        let html = PartBuilder::new()
            .body(body)
            .header((
                "Content-Type",
                mime::TEXT_HTML_UTF_8.to_string(),
            ))
            .build();
        self.child(html)
    }
/// Sets the email body to HTML content
Sets the email body to HTML content
Sets the email body to HTML content
pub fn html<S: Into<String>>(self, body: S) -> EmailBuilder {
        let html = PartBuilder::new()
            .body(body)
            .header((
                "Content-Type",
                mime::TEXT_HTML_UTF_8.to_string(),
            ))
            .build();
        self.child(html)
    }
pub fn html < S : Into < String > > ( self , body : S ) -> EmailBuilder { let html = PartBuilder :: new ( ) . body ( body ) . header ( ( " " , mime :: TEXT_HTML_UTF_8 . to_string ( ) , ) ) . build ( ) ; self . child ( html ) }
Sets the email body to HTML content
Sets the email body to HTML content
self
body
S
self
body
S