<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Emailing invoices- How to change the text of the email]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1823&amp;type=atom" />
	<updated>2013-03-05T14:58:22Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1823</id>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15898#p15898" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-03-05T14:58:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15898#p15898</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15883#p15883" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[hcoleman]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17493</uri>
			</author>
			<updated>2013-03-04T22:15:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15883#p15883</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12117#p12117" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[SimpleTechGuy]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=13752</uri>
			</author>
			<updated>2012-03-28T17:18:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12117#p12117</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8060#p8060" />
			<content type="html"><![CDATA[<p>Ok Joe. I (almost) understand now. I&#039;m ok.</p><p>Gaston</p>]]></content>
			<author>
				<name><![CDATA[huotg01]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=983</uri>
			</author>
			<updated>2011-01-16T21:05:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8060#p8060</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8050#p8050" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[huotg01]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=983</uri>
			</author>
			<updated>2011-01-16T10:29:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8050#p8050</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8047#p8047" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-01-14T08:15:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8047#p8047</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8044#p8044" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[huotg01]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=983</uri>
			</author>
			<updated>2011-01-13T22:30:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8044#p8044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8043#p8043" />
			<content type="html"><![CDATA[<p>You can change that in file /reporting/includes/header2.inc in function End().</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-01-13T20:58:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8043#p8043</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Emailing invoices- How to change the text of the email]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=8042#p8042" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[huotg01]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=983</uri>
			</author>
			<updated>2011-01-13T19:46:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=8042#p8042</id>
		</entry>
</feed>
