--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: attach
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: adds an attachment to the mail. Type may be given as a mime type. If it is left off and the MIME::Types module is available it will be determined automagically. If the optional attachemntheaders is given, then they will be added to the attachment boundary in the email, which can be used to produce Content-ID markers. attachmentheaders can be given as an Array or a String.
full_name: MailFactory#add_attachment
is_singleton: false
name: add_attachment
params: (filename, type=nil, attachmentheaders = nil)
visibility: public
