<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHPMailer Inline String Attachment</title>
	<atom:link href="http://www.jason-palmer.com/2009/09/phpmailer-inline-string-attachment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jason-palmer.com/2009/09/phpmailer-inline-string-attachment/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 22:50:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Tomas</title>
		<link>http://www.jason-palmer.com/2009/09/phpmailer-inline-string-attachment/comment-page-1/#comment-449</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Mon, 18 Apr 2011 15:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=54#comment-449</guid>
		<description>thank you it is very usefull
note: 
in fix there is wrong apostrophe around ‘inline’, php did not alert me and it was not working
using
6 =&gt; &#039;inline&#039;,
is working perfectly</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>thank you it is very usefull<br />
note:<br />
in fix there is wrong apostrophe around ‘inline’, php did not alert me and it was not working<br />
using<br />
6 =&gt; &#8216;inline&#8217;,<br />
is working perfectly</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.jason-palmer.com/2009/09/phpmailer-inline-string-attachment/comment-page-1/#comment-293</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Fri, 18 Sep 2009 00:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jason-palmer.com/?p=54#comment-293</guid>
		<description>Hi,

In the original the attached filename contained the path (prepended) with slashed replaced by underscores so I modded the code to;

    $onlyfilename = basename($filename);
    $this-&gt;attachment[] = array(
      0 =&gt; $string,
      1 =&gt; $filename,
      2 =&gt; $onlyfilename,
      3 =&gt; $encoding,
      4 =&gt; $type,
      5 =&gt; true,  // isStringAttachment
      6 =&gt; &#039;inline&#039;,
      7 =&gt; $cid
    );</description>
		<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Hi,</p>
<p>In the original the attached filename contained the path (prepended) with slashed replaced by underscores so I modded the code to;</p>
<p>    $onlyfilename = basename($filename);<br />
    $this-&gt;attachment[] = array(<br />
      0 =&gt; $string,<br />
      1 =&gt; $filename,<br />
      2 =&gt; $onlyfilename,<br />
      3 =&gt; $encoding,<br />
      4 =&gt; $type,<br />
      5 =&gt; true,  // isStringAttachment<br />
      6 =&gt; &#8216;inline&#8217;,<br />
      7 =&gt; $cid<br />
    );</p>
<!-- google_ad_section_end -->]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.133 seconds -->

