Topic: PHPMailer

https://github.com/apmuthu/FA24extensions/blob/master/Extensions/mail/class.mail.inc#L119

There is an error in line 119. The current line reads as follow:

$this->phpmailer->addAttachment($file);

This means that when you send an invoice you get an invoice number 4HvxRnbc6Ja138vRa_WRcQxx.pdf

When I change it to the Following: $this->phpmailer->addAttachment($file, $filename);

I get the correct Invoice number on the attachment InvoiceIN001809.pdf

Wynand