<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — pdf sent as text in email]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=2676</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2676&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in pdf sent as text in email.]]></description>
		<lastBuildDate>Fri, 25 May 2012 15:45:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=12559#p12559</link>
			<description><![CDATA[<p>Removing the &#039;\n&#039; doesn&#039;t work. Removing the like 133 and 135 works too</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 25 May 2012 15:45:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=12559#p12559</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=12558#p12558</link>
			<description><![CDATA[<p>Seems there is sparse &#039;\n&#039; just after &#039;mulitpart/mixed;&#039; in line 134 of class.mail.inc.<br />Could you check the functionality again on your setup, after fixing this line?<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 25 May 2012 13:46:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=12558#p12558</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=12553#p12553</link>
			<description><![CDATA[<p>I&#039;ve fixed the problem by adding the boundary at the end of the header (I&#039;ve seen that somewhere).<br />I have no idea why it works but it seems better.</p><p>136&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$this-&gt;header .= &quot;--&quot;.$this-&gt;boundary.&quot;\n&quot;;</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 25 May 2012 11:41:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=12553#p12553</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11260#p11260</link>
			<description><![CDATA[<p>I understand your concerns. No it doesn&#039;t work with single quote, and for some reason I have to remove line 135 (otherwise it seems that it&#039;s added to the boundary). Quote seems to be usefull only when the delimiter contains some dodgy character (like <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /> so in theory there is no need to.</p><p>What is weird, is that I am (apparently ) the only one with this problem.<br />I&#039;ll raise an issue at gmail .</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 16 Dec 2011 15:11:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11260#p11260</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11258#p11258</link>
			<description><![CDATA[<p>I am a little scared about changing this to be without quotes. Does it work with single quotes?<br />Did you still have line 135 in your changed file?</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 16 Dec 2011 14:59:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11258#p11258</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11254#p11254</link>
			<description><![CDATA[<p>Found it. I have this problem only with Gmail. It doesn&#039;t like the quotes around the boundary definition.<br />I don&#039;t know if it&#039;s a bug or depend on the encoding. Internet is not consistent about to use or not quotes in boundary delimiter definition. However what works is to change the following lines in &#039;reporting/includes/class.mail.inc&#039;<br /></p><div class="codebox"><pre><code>134     $this-&gt;header .= &quot;Content-Type: multipart/mixed;\n boundary=\&quot;$this-&gt;boundary\&quot;\n&quot;;                                                                                                                                                 
135     $this-&gt;header .= &quot;This is a multi-part message in MIME format.\n&quot;;</code></pre></div><p>by<br /></p><div class="codebox"><pre><code>134     $this-&gt;header .= &quot;Content-Type: multipart/mixed;\n boundary=$this-&gt;boundary\n&quot;;
135 </code></pre></div><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 16 Dec 2011 14:21:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11254#p11254</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11252#p11252</link>
			<description><![CDATA[<p>I get something like that<br /></p><div class="quotebox"><blockquote><p>%PDF-1.3<br />1.00 w<br />3 0 obj<br />&amp;lt;&amp;lt;/Type /Page<br />/Parent 1 0 R<br />/MediaBox [0 0 595.28 841.89]<br />/Resources 2 0 R<br />/Contents 4 0 R&amp;gt;&amp;gt;<br />endobj<br />4 0 obj<br />&amp;lt;&amp;lt;/Filter /FlateDecode /Length 1486&amp;gt;&amp;gt;<br />stream<br />xœÕš]oÛ6†ïý+°›<br />kd~‹ÊÕœ¥i×$MÔEÑÁV]¯¶ÔÊJ»î×²¤ˆ”8&amp;quot;ÕˆeÓ9&amp;quot;òå9¤M=BàxažÿÀ»÷æefžgæ9…0þ“e…UøNÃýÑˆ§‰ûz}6›ZFRÉâÒºxY±ŠËÜTÍ™J$a`_M%ô‡+Ñ&amp;gt;5·DW&amp;amp;!›WÖ2ØK¶©ê€nîÍbøÐj¤²[¹·Ù´ì}áØ—Åì¥rìËâc;ÁÈã:QÚÜÛ€&amp;quot;n§ÉžNSæt¢*ÚöŽ÷vvV¸î®Ë–&nbsp; &nbsp; “n%uÙ2áÒ¥.[&amp;amp;BµPÔV-í¡w‡ê±&amp;amp;Ž¯w¹FÂµ(Ë¶I{ü\oL¾€6ßˆ‘@Ù†ØL?Ø¦+ŸS8Iáu©Uæhµþ(Ø«÷z„Só‹yëé\³9˜–Óž6d~áÞýzNÂÓW§áoï!|aš‡×…%-hþ»¤`õÑ#S…}K_úÚãº$~åyœá8Íóh7ÜÝS(uGAY0WÑ&amp;quot;ë4šõ&nbsp; &nbsp; !ÅÄEüísšå}¶.Ø]ë§Ñ:‡·iöiýq‘õ:œ4³á<br />•À^ß@ŸíÓf6¾yù„<br />—Êâ}*KÍtºú˜&amp;amp;ñ}</p></blockquote></div><p>Howeve, the PDF seemst alriqht, that&#039;s more the &#039;embedding&#039; of it inside the email which doesn&#039;t work</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 16 Dec 2011 11:11:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11252#p11252</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11250#p11250</link>
			<description><![CDATA[<p>Maybe you can trap some errors by setting the $go_debug to 1 (in comfig.php). Also try the $pdf_debug by setting to 1. It would be nice if we could trap the cause of this error.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 16 Dec 2011 10:44:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11250#p11250</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11248#p11248</link>
			<description><![CDATA[<p>I have only $debug set to 1.<br />$pdf_debug is set to 0</p><p>(I have always had this problem anyway, even when I first install FA)</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Fri, 16 Dec 2011 10:30:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11248#p11248</guid>
		</item>
		<item>
			<title><![CDATA[Re: pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11241#p11241</link>
			<description><![CDATA[<p>This is strange. Have you set any of the debugging flags in config.php? F.i. the $pdf_debug to 1 ?</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 16 Dec 2011 08:10:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11241#p11241</guid>
		</item>
		<item>
			<title><![CDATA[pdf sent as text in email]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=11238#p11238</link>
			<description><![CDATA[<p>Hi</p><p>I&#039;m trying to send a statement to a customer (myself as I m testing). I don&#039;t get an attached document but instead a criptic ascii bit, which I think is the PDF.</p><p>something like <br />--f557c2c70897ee6a29e37c8b9cd2bffd<br />Content-Type: application/pdf; name=&quot;Statement2.pdf&quot;<br />Content-Transfer-Encoding: base64<br />Content-Disposition: attachment; filename=&quot;Statement2.pdf&quot;</p><p>JVBERi0xLjMKMS4wMCB3CjMgMCBvYmoKPDwvVHlwZSAvUGFnZQovUGFyZW50IDEgMCBSCi9N<br />ZWRpYUJveCBbMCAwIDU5NS4yOCA4NDE</p><p>I&#039;m sure I can transform that into a PDF, but I guess my customers won&#039;t. Am I only one having this problem ?</p><p>/Elax</p>]]></description>
			<author><![CDATA[null@example.com (elax)]]></author>
			<pubDate>Thu, 15 Dec 2011 14:00:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=11238#p11238</guid>
		</item>
	</channel>
</rss>
