<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Emailing invoices- How to change the text of the email]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1823</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1823&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Emailing invoices- How to change the text of the email.]]></description>
		<lastBuildDate>Tue, 05 Mar 2013 14:58:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15898#p15898</link>
			<description><![CDATA[<p>Lines 100 - 117 in <strong>sales/includes/db/sales_order_db.inc</strong><br /></p><div class="codebox"><pre><code>    if ($loc_notification == 1 &amp;&amp; count($st_ids) &gt; 0)
    {
        require_once($path_to_root . &quot;/reporting/includes/class.mail.inc&quot;);
        $company = get_company_prefs();
        $mail = new email($company[&#039;coy_name&#039;], $company[&#039;email&#039;]);
        $from = $company[&#039;coy_name&#039;] . &quot; &lt;&quot; . $company[&#039;email&#039;] . &quot;&gt;&quot;;
        $to = $loc[&#039;location_name&#039;] . &quot; &lt;&quot; . $loc[&#039;email&#039;] . &quot;&gt;&quot;;
        $subject = _(&quot;Stocks below Re-Order Level at &quot; . $loc[&#039;location_name&#039;]);
        $msg = &quot;\n&quot;;
        for ($i = 0; $i &lt; count($st_ids); $i++)
            $msg .= $st_ids[$i] . &quot; &quot; . $st_names[$i] . &quot;, &quot; . _(&quot;Re-Order Level&quot;) . &quot;: &quot; . $st_reorder[$i] . &quot;, &quot; . _(&quot;Below&quot;) . &quot;: &quot; . $st_num[$i] . &quot;\n&quot;;
        $msg .= &quot;\n&quot; . _(&quot;Please reorder&quot;) . &quot;\n\n&quot;;
        $msg .= $company[&#039;coy_name&#039;];
        $mail-&gt;to($to);
        $mail-&gt;subject($subject);
        $mail-&gt;text($msg);
        $ret = $mail-&gt;send();
    }</code></pre></div><p>The file <strong>class.mail.inc</strong> is included in only 2 files, one above and the other is <strong>reporting/includes/pdf_report.inc</strong> where mail sending code is present.</p><p>Implementation of the <strong>phpmailer class</strong> would require the patching of the said <strong>class.mail.inc</strong> file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 05 Mar 2013 14:58:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15898#p15898</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15883#p15883</link>
			<description><![CDATA[<p>I&#039;m looking for the same thing... How do I edit the body of emails when sending sale orders and invoices?</p><p>Thank you!</p>]]></description>
			<author><![CDATA[null@example.com (hcoleman)]]></author>
			<pubDate>Mon, 04 Mar 2013 22:15:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15883#p15883</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=12117#p12117</link>
			<description><![CDATA[<p>Hi guys,</p><p>Sorry to revive this old topic, but it seems like the method for editing the emails has changed a bit in the newer versions of FA.&nbsp; Is this true or am I just missing something?&nbsp; </p><p>FYI - I&#039;m trying to edit the subject and the body of the email and to add a signature with my company information.</p><p>All the best,</p>]]></description>
			<author><![CDATA[null@example.com (SimpleTechGuy)]]></author>
			<pubDate>Wed, 28 Mar 2012 17:18:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=12117#p12117</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8060#p8060</link>
			<description><![CDATA[<p>Ok Joe. I (almost) understand now. I&#039;m ok.</p><p>Gaston</p>]]></description>
			<author><![CDATA[null@example.com (huotg01)]]></author>
			<pubDate>Sun, 16 Jan 2011 21:05:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8060#p8060</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8050#p8050</link>
			<description><![CDATA[<p>Joe</p><p>Sorry if I was not clear.</p><p>I&#039;m talking about the Object and the body of the email (the invoice is attached to the email), not the invoice itself.</p><p>Where can I change the email Object field content ?</p><p>Gaston</p>]]></description>
			<author><![CDATA[null@example.com (huotg01)]]></author>
			<pubDate>Sun, 16 Jan 2011 10:29:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8050#p8050</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8047#p8047</link>
			<description><![CDATA[<p>Ah, sorry Gaston. header2.inc includes the file doctext.inc that can be found in the same folder. Here are the texts.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 14 Jan 2011 08:15:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8047#p8047</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8044#p8044</link>
			<description><![CDATA[<p>Are you sure Joe ?</p><p>I don&#039;t see anything related to the text included (and the object) in the email transporting the attached invoice.</p><p>Gaston</p>]]></description>
			<author><![CDATA[null@example.com (huotg01)]]></author>
			<pubDate>Thu, 13 Jan 2011 22:30:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8044#p8044</guid>
		</item>
		<item>
			<title><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8043#p8043</link>
			<description><![CDATA[<p>You can change that in file /reporting/includes/header2.inc in function End().</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 13 Jan 2011 20:58:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8043#p8043</guid>
		</item>
		<item>
			<title><![CDATA[Emailing invoices- How to change the text of the email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8042#p8042</link>
			<description><![CDATA[<p>Hello</p><p>Where can I chage the text of the email when sending invoices. Right now, in the topic, it shows : Invoice #32</p><p>I would like to introduce the topic with the name of my organisation: Company- Invoices #32</p><p>Thanks</p><p>Gaston</p>]]></description>
			<author><![CDATA[null@example.com (huotg01)]]></author>
			<pubDate>Thu, 13 Jan 2011 19:46:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8042#p8042</guid>
		</item>
	</channel>
</rss>
