attach_part: Attach an object to a mime message
Description
Attach an object to a mime messageUsage
attach_part(mime, body, ...)attach_file(mime, filename, type = guess_media(filename), ...)
Arguments
...
additional arguments put into the attr field of the object
filename
name of file to attach
type
mime type of the attached file