<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — HTML email is not working while sending invoices]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5963&amp;type=atom" />
	<updated>2015-10-06T03:03:22Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5963</id>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24432#p24432" />
			<content type="html"><![CDATA[<p>Attached herewith is a PDF of your article. A couple of <strong>mail-&gt;</strong> lines above the code snippet referred to will also need to be changed suitably.</p><p>Using the Autoload may not be recommendable as it might cause multiple classes out of context to overload one another. Including just the files used like <strong>lass.phpmailer.php</strong>&nbsp; (and others if used) may be better off. Better still would be to include it in another replacement file class.mail.inc where the latter&#039;s methods and properties can be aliased.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-10-06T03:03:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24432#p24432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24431#p24431" />
			<content type="html"><![CDATA[<p>Here i wrote in detail. </p><br /><br /><p><a href="http://www.kvcodes.com/2015/10/frontaccounting-emailer-class-replacement-with-phpmailer-class/"> Read Here. </a></p><p>Those who looking to integreate phpmailer. than read it here.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2015-10-05T08:48:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24431#p24431</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24425#p24425" />
			<content type="html"><![CDATA[<p>You can post your PHPMailer integration code herein.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-10-04T19:40:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24425#p24425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24421#p24421" />
			<content type="html"><![CDATA[<p>i checked it. the email contents from class,mail.inc, giving plain text contents. and its generating html content as well. but in the mail format is not html . so i started using phpmailer into the FA. it solved my issues. so if someone asks the same thing in future, please move to use phpmailer class. instead of the existing one.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2015-10-04T08:35:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24421#p24421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24408#p24408" />
			<content type="html"><![CDATA[<p>Check the raw content of any html email successfully received by gmail or yahoo mail and compare it with the mail you send out from FA and see what headers if any are missing and add them in.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-10-02T10:15:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24408#p24408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24405#p24405" />
			<content type="html"><![CDATA[<p>I tried that $mail-&gt;html() already and it was not working to send html content .&nbsp; i mean its not there in gmail or yahoo mail. </p><p>so prefer to go with phpmailer now. once i done the change i will put it here else i will write a separate article in my blog..</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2015-10-02T05:28:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24405#p24405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24403#p24403" />
			<content type="html"><![CDATA[<p>Try to use <a href="https://github.com/PHPMailer/PHPMailer">PHPMailer</a> and submit to FA for inclusion when done. </p><p>FA uses mail() to send mail and is on the <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.EMailIssues">Wiki</a>.</p><p>Line 1026 in <strong>reporting/includes/pdf_reports.inc</strong>:<br /></p><div class="codebox"><pre><code>                        $mail-&gt;text($msg . $sender);</code></pre></div><p>can be replaced with:<br /></p><div class="codebox"><pre><code>                        $mail-&gt;html($msg . $sender);</code></pre></div><p>if the <strong>$msg</strong> has html content.</p><p>Similar replacement can be done on line 77 in <strong>inventory/includes/inventory_db.inc</strong>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-10-01T18:32:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24403#p24403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[HTML email is not working while sending invoices]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24398#p24398" />
			<content type="html"><![CDATA[<p>Hi, </p><p>&nbsp; I customized pdf_report.inc file with html email. its receiving the html emails on my custom web mails. but when i send it to popular mail servers like gmail and yahoo, it wont work. its showing the plain text. </p><p>I guess the class.mail.inc file is handling the email operations. And the email class&nbsp; is not updated with current mailing system. </p><p>How i send html emails to all the mailer classes.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2015-10-01T11:00:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24398#p24398</id>
		</entry>
</feed>
