Załącznik PHPMailer 5

addStringAttachment(string  $string, string  $filename, string  $encoding = self::ENCODING_BASE64, string  $type = '', string  $disposition = 'attachment') : boolean
sXakil