Fixed filename extension in Invoice Email
This commit is contained in:
@@ -152,7 +152,7 @@ XINON GmbH";
|
||||
$email->setFrom($from, $from_name);
|
||||
$email->setTo($to);
|
||||
$email->setHeader("X-".MFAPPNAME."-Iid", $this->id);
|
||||
$email->addAttachment($pdf_filename, null, $pdf->name, "application/pdf");
|
||||
$email->addAttachment($pdf_filename, null, $pdf->filename, "application/pdf");
|
||||
$email->send();
|
||||
$this->log->info(__METHOD__.": Sending Invoice ".$this->invoice_number." to $to");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user