$email->attach_file(
$filepath,
content_type => $mimetype,
charset => 'UTF-8',
name => $filename,
disposition => 'attachment',
);
-