pub fn attachment(mut self,
                      path: &Path,
                      filename: Option<&str>,
                      content_type: &Mime)
                      -> Result<EmailBuilder, Error> {
        self.set_attachment(path, filename, content_type)?;
        Ok(self)
    }
/// Adds an attachment to the email
Adds an attachment to the email
Adds an attachment to the email
pub fn attachment(mut self,
                      path: &Path,
                      filename: Option<&str>,
                      content_type: &Mime)
                      -> Result<EmailBuilder, Error> {
        self.set_attachment(path, filename, content_type)?;
        Ok(self)
    }
pub fn attachment ( mut self , path : & Path , filename : Option < & str > , content_type : & Mime ) -> Result < EmailBuilder , Error > { self . set_attachment ( path , filename , content_type ) ? ; Ok ( self ) }
Adds an attachment to the email
Adds an attachment to the email
mut self
path
&Path
filename
Option<&str>
content_type
&Mime
mut self
path
&Path
filename
Option<&str>
content_type
&Mime