<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Mail_Mime</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/20938" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20518" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20223" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20077" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13468" />
      <rdf:li rdf:resource="http://pear.php.net/bug/3729" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/20938">
      <title>Mail_Mime: Feature/Change Request 20938 [Open] Support for PGP encrypted &amp; signed mails</title>
      <link>http://pear.php.net/bugs/20938</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by cweiske
2015-08-19T03:19:22+00:00
PHP: Irrelevant OS:  Package Version: 1.9.0

Description:
------------
Mail_mime should support PGP signed/encrypted mails.

This is defined in RFC 1991; https://tools.ietf.org/html/rfc1991</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by cweiske
2015-08-19T03:19:22+00:00
PHP: Irrelevant OS:  Package Version: 1.9.0

Description:
------------
Mail_mime should support PGP signed/encrypted mails.

This is defined in RFC 1991; https://tools.ietf.org/html/rfc1991</pre>]]></description>
      <dc:date>2015-08-19T22:08:51+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Mail_Mime Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20518">
      <title>Mail_Mime: Documentation Problem 20518 [Open] The documentation for addHTMLImage() is wrong</title>
      <link>http://pear.php.net/bugs/20518</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by khorben
2015-03-19T22:30:33+00:00
PHP: 5.4.38 OS: NetBSD Package Version: 1.8.9

Description:
------------
The documentation for the addHTMLImage() method of the Mail_Mime class (see https://pear.php.net/manual/en/package.mail.mail-mime.addhtmlimage.php) wrongly says:
&quot;When referencing the embedded image with an &lt;img&gt; tag, set the &quot;src&quot; attribute to be &quot;cid:whatever&quot;, where &quot;whatever&quot; is the Content-ID&quot;.

It should say something along those lines instead:
&quot;When referencing embedded images in the HTML body, set the $name parameter (or $file if not set) and the path to the image to the same value. The HTML content will be automatically updated with the corresponding &quot;cid:&quot; URL (as found in &quot;src&quot;, &quot;background&quot; and &quot;href&quot; attributes).&quot;

Likewise, the documentation for the &quot;$name&quot; parameter is wrong. This parameter is always used if set - and then must match the destination filename in the HTML body. I would change it to:
&quot;string $name - The filename of the image. It is required if $file contains the image data. If set, it must match the filename used in the HTML content.&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by khorben
2015-03-19T22:30:33+00:00
PHP: 5.4.38 OS: NetBSD Package Version: 1.8.9

Description:
------------
The documentation for the addHTMLImage() method of the Mail_Mime class (see https://pear.php.net/manual/en/package.mail.mail-mime.addhtmlimage.php) wrongly says:
&quot;When referencing the embedded image with an &lt;img&gt; tag, set the &quot;src&quot; attribute to be &quot;cid:whatever&quot;, where &quot;whatever&quot; is the Content-ID&quot;.

It should say something along those lines instead:
&quot;When referencing embedded images in the HTML body, set the $name parameter (or $file if not set) and the path to the image to the same value. The HTML content will be automatically updated with the corresponding &quot;cid:&quot; URL (as found in &quot;src&quot;, &quot;background&quot; and &quot;href&quot; attributes).&quot;

Likewise, the documentation for the &quot;$name&quot; parameter is wrong. This parameter is always used if set - and then must match the destination filename in the HTML body. I would change it to:
&quot;string $name - The filename of the image. It is required if $file contains the image data. If set, it must match the filename used in the HTML content.&quot;</pre>]]></description>
      <dc:date>2015-03-19T22:30:33+00:00</dc:date>
      <dc:creator>pierre+pear &amp;#x61;&amp;#116; defora &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Mail_Mime Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20223">
      <title>Mail_Mime: Documentation Problem 20223 [Open] Working together with Mail</title>
      <link>http://pear.php.net/bugs/20223</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by stesch
2014-03-19T13:15:38+00:00
PHP: Irrelevant OS:  Package Version: 1.8.8

Description:
------------
The Documentation needs to be more explicit about setting EOL to &quot;\n&quot; if you use Mail_mime together with Mail.

And very important: The example script in the archive doesn't set the EOL character and causes problems with some e-mail providers because of this.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by stesch
2014-03-19T13:15:38+00:00
PHP: Irrelevant OS:  Package Version: 1.8.8

Description:
------------
The Documentation needs to be more explicit about setting EOL to &quot;\n&quot; if you use Mail_mime together with Mail.

And very important: The example script in the archive doesn't set the EOL character and causes problems with some e-mail providers because of this.</pre>]]></description>
      <dc:date>2014-03-19T13:15:38+00:00</dc:date>
      <dc:creator>stesch &amp;#x61;&amp;#116; no-spoon &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Mail_Mime Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20077">
      <title>Mail_Mime: Documentation Problem 20077 [Open] update Mail_Mime's documentation for &amp;get() -&gt; get()</title>
      <link>http://pear.php.net/bugs/20077</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by ftzdomino
2013-09-30T22:56:14+00:00
PHP: Irrelevant OS: n/a Package Version: 1.8.8

Description:
------------
Mail_Mime's get function documentation is outdated at:  
http://pear.php.net/manual/en/package.mail.mail-
mime.get.php

that should be function get(...  not function &amp;get(...

The &amp; was removed from function &amp;get in this commit:
https://github.com/pear/Mail_Mime/commit/cc8586433e0141b
3aeaf89e84e78317539dcf3e2</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Documentation Problem
Reported by ftzdomino
2013-09-30T22:56:14+00:00
PHP: Irrelevant OS: n/a Package Version: 1.8.8

Description:
------------
Mail_Mime's get function documentation is outdated at:  
http://pear.php.net/manual/en/package.mail.mail-
mime.get.php

that should be function get(...  not function &amp;get(...

The &amp; was removed from function &amp;get in this commit:
https://github.com/pear/Mail_Mime/commit/cc8586433e0141b
3aeaf89e84e78317539dcf3e2</pre>]]></description>
      <dc:date>2013-09-30T22:56:14+00:00</dc:date>
      <dc:creator>jsnell &amp;#x61;&amp;#116; e-normous &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Mail_Mime Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13468">
      <title>Mail_Mime: Feature/Change Request 13468 [Assigned] Add option to fetch http:// images/stylesheets</title>
      <link>http://pear.php.net/bugs/13468</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by walter
2008-03-22T20:54:13+00:00
PHP: Irrelevant OS:  Package Version: 1.5.2

Description:
------------
An increasing number of MUA's defaults to *not* fetching remote images in HTML email.

It could be a useful feature if Mail_mime could optionally search a HTML part for any http:// assets referenced, fetch them by HTTP, attach them to the message and rewrite the HTML part.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by walter
2008-03-22T20:54:13+00:00
PHP: Irrelevant OS:  Package Version: 1.5.2

Description:
------------
An increasing number of MUA's defaults to *not* fetching remote images in HTML email.

It could be a useful feature if Mail_mime could optionally search a HTML part for any http:// assets referenced, fetch them by HTTP, attach them to the message and rewrite the HTML part.</pre>]]></description>
      <dc:date>2008-03-22T21:05:14+00:00</dc:date>
      <dc:creator>walter &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Mail_Mime Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/3729">
      <title>Mail_Mime: Feature/Change Request 3729 [Verified] Support for signed messages</title>
      <link>http://pear.php.net/bugs/3729</link>
      <content:encoded><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by xolphin
2005-03-07T12:17:53+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Description:
------------
I added support for signed messages using openssl_pkcs7_sign. Unfortunatly you have to use temporary files when working with openssl_pkcs7_sign. If anybody else has a better solution I would like to hear it.

An encryption routine can be made the same way like this, if you need any help, please let me know. I don't know if this is the right package for encryption and signing of messages, but I thought it would be the most logical.

Reproduce code:
---------------
Changed code:
  http://www.xolphin.net/mime.diff

Example use:
($Customer and $PDFDocument are a DataObjects)

$header['To'] = $Customer-&gt;Email;
$header['From'] = 'test@example.com'; 
$header['Subject'] = 'Signed message';

$mime = new Mail_mime(&quot;\n&quot;);
$mime-&gt;setTXTBody($Customer-&gt;Message);
do
{
  $mime-&gt;addAttachment($PDFDocument-&gt;PDF, 'application/pdf', 'Document ' . $PDFDocument-&gt;DocumentName, 'base64' );  
}
while ($PDFDocument-&gt;Fetch());

$sign_directory = '/var/www/admin/certificates/mail';

if ($filename_signed = $mime-&gt;getSignedMessage(
   $header, 'certificate.pem', 'instantssl.pem',
   $sign_directory, 'password'))
  {
    exec(ini_get('sendmail_path') . ' &lt; ' . $filename_signed);
  }</pre>]]></content:encoded>
      <description><![CDATA[<pre>Mail_Mime Feature/Change Request
Reported by xolphin
2005-03-07T12:17:53+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Description:
------------
I added support for signed messages using openssl_pkcs7_sign. Unfortunatly you have to use temporary files when working with openssl_pkcs7_sign. If anybody else has a better solution I would like to hear it.

An encryption routine can be made the same way like this, if you need any help, please let me know. I don't know if this is the right package for encryption and signing of messages, but I thought it would be the most logical.

Reproduce code:
---------------
Changed code:
  http://www.xolphin.net/mime.diff

Example use:
($Customer and $PDFDocument are a DataObjects)

$header['To'] = $Customer-&gt;Email;
$header['From'] = 'test@example.com'; 
$header['Subject'] = 'Signed message';

$mime = new Mail_mime(&quot;\n&quot;);
$mime-&gt;setTXTBody($Customer-&gt;Message);
do
{
  $mime-&gt;addAttachment($PDFDocument-&gt;PDF, 'application/pdf', 'Document ' . $PDFDocument-&gt;DocumentName, 'base64' );  
}
while ($PDFDocument-&gt;Fetch());

$sign_directory = '/var/www/admin/certificates/mail';

if ($filename_signed = $mime-&gt;getSignedMessage(
   $header, 'certificate.pem', 'instantssl.pem',
   $sign_directory, 'password'))
  {
    exec(ini_get('sendmail_path') . ' &lt; ' . $filename_signed);
  }</pre>]]></description>
      <dc:date>2010-01-27T18:31:32+00:00</dc:date>
      <dc:creator>maarten &amp;#x61;&amp;#116; xolphin &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>Mail_Mime Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
