- changed status to resolved
Attachments
Issue #3
resolved
Line 103 : $mail->AddAttachment($attachment);
$attachment is an array, but but PHPMailer expects to receive 4 string parameters (1 compulsory and 3 optional).
AddAttachment( string $path, [string $name = ""], [string $encoding = "base64"], [string $type = "application/octet-stream"] )
In order to work I had to change that line to: $mail->AddAttachment($attachment['file']);
Comments (1)
-
repo owner - Log in to comment
fixes
#2#3→ <<cset d71d703dd772>>