iam using ojs 2.4.8.1 with phpmailer when i send the email with attachment i receive the email without attachment
iam using this cod :
foreach ((array) $this->getAttachments() as $attachmentInfo) {
$mail->AddAttachment(
$attachmentInfo['path'],
$attachmentInfo['filename'],
'base64',
$attachmentInfo['content-type']
);
}