<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — PHPMailer]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10703&amp;type=atom" />
	<updated>2026-01-12T14:31:37Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10703</id>
		<entry>
			<title type="html"><![CDATA[PHPMailer]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43809#p43809" />
			<content type="html"><![CDATA[<p>https://github.com/apmuthu/FA24extensions/blob/master/Extensions/mail/class.mail.inc#L119</p><p>There is an error in line 119. The current line reads as follow:</p><p>$this-&gt;phpmailer-&gt;addAttachment($file);</p><p>This means that when you send an invoice you get an invoice number 4HvxRnbc6Ja138vRa_WRcQxx.pdf</p><p>When I change it to the Following: $this-&gt;phpmailer-&gt;addAttachment($file, $filename);</p><p>I get the correct Invoice number on the attachment InvoiceIN001809.pdf</p>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2026-01-12T14:31:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43809#p43809</id>
		</entry>
</feed>
