<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PHP MIME Encoded Emails Missing Content-Type in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/php-mime-encoded-emails-missing-content-type/m-p/3924778#M35307</link>
    <description>I'm running a PHP script on both Windows and VMS.&lt;BR /&gt;&lt;BR /&gt;The script uses the standard mimemessage class from PHP-Classes (&lt;A href="http://www.phpclasses.org/mimemessage)" target="_blank"&gt;http://www.phpclasses.org/mimemessage)&lt;/A&gt; to create a mixed text and HTML email message.&lt;BR /&gt;&lt;BR /&gt;When I send the message from Windows, Outlook sees both the text version and HTML version fine.&lt;BR /&gt;&lt;BR /&gt;When I send from VMS, the Content-Type header seems to be missing, and I just get this sort of output :-&lt;BR /&gt;&lt;BR /&gt;--0aa5252431577e6f551db3ad7b8225f6&lt;BR /&gt;Content-Type: text/plain; charset=ISO-8859-1&lt;BR /&gt;Content-Transfer-Encoding: quoted-printable&lt;BR /&gt;&lt;BR /&gt;This is an HTML message. Please use an HTML capable mail program to read this message.&lt;BR /&gt;&lt;BR /&gt;--0aa5252431577e6f551db3ad7b8225f6&lt;BR /&gt;Content-Type: text/html; charset=ISO-8859-1&lt;BR /&gt;Content-Transfer-Encoding: quoted-printable&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like the script isn't adding the MIME boundary information from VMS, but at some point it seems to :-&lt;BR /&gt;&lt;BR /&gt;    [To] =&amp;gt; Rob Alpha , Robert TBS &lt;BR /&gt;    [Subject] =&amp;gt; Testing Manuel Lemos' MIME E-mail composing and sending PHP class: HTML message&lt;BR /&gt;    [From] =&amp;gt; Robert Atkinson &lt;BR /&gt;    [Reply-To] =&amp;gt; Robert Atkinson &lt;BR /&gt;    [Sender] =&amp;gt; robert@xxxxxxxxx&lt;BR /&gt;    [Return-Path] =&amp;gt; robert@xxxxxxxxxx&lt;BR /&gt;    [X-Mailer] =&amp;gt; &lt;A href="http://www.phpclasses.org/mimemessage" target="_blank"&gt;http://www.phpclasses.org/mimemessage&lt;/A&gt; $Revision: 1.70 $ (mail)&lt;BR /&gt;    [MIME-Version] =&amp;gt; 1.0&lt;BR /&gt;    [Content-Type] =&amp;gt; multipart/alternative; boundary="7382dc4684130df990c17829671b46e2"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any PHP pro's know what's wrong, or can give me some sample code that can output a mixed content email?&lt;BR /&gt;&lt;BR /&gt;Thanks, Rob.&lt;BR /&gt;</description>
    <pubDate>Thu, 11 Jan 2007 10:53:32 GMT</pubDate>
    <dc:creator>Robert Atkinson</dc:creator>
    <dc:date>2007-01-11T10:53:32Z</dc:date>
    <item>
      <title>PHP MIME Encoded Emails Missing Content-Type</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-mime-encoded-emails-missing-content-type/m-p/3924778#M35307</link>
      <description>I'm running a PHP script on both Windows and VMS.&lt;BR /&gt;&lt;BR /&gt;The script uses the standard mimemessage class from PHP-Classes (&lt;A href="http://www.phpclasses.org/mimemessage)" target="_blank"&gt;http://www.phpclasses.org/mimemessage)&lt;/A&gt; to create a mixed text and HTML email message.&lt;BR /&gt;&lt;BR /&gt;When I send the message from Windows, Outlook sees both the text version and HTML version fine.&lt;BR /&gt;&lt;BR /&gt;When I send from VMS, the Content-Type header seems to be missing, and I just get this sort of output :-&lt;BR /&gt;&lt;BR /&gt;--0aa5252431577e6f551db3ad7b8225f6&lt;BR /&gt;Content-Type: text/plain; charset=ISO-8859-1&lt;BR /&gt;Content-Transfer-Encoding: quoted-printable&lt;BR /&gt;&lt;BR /&gt;This is an HTML message. Please use an HTML capable mail program to read this message.&lt;BR /&gt;&lt;BR /&gt;--0aa5252431577e6f551db3ad7b8225f6&lt;BR /&gt;Content-Type: text/html; charset=ISO-8859-1&lt;BR /&gt;Content-Transfer-Encoding: quoted-printable&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It looks like the script isn't adding the MIME boundary information from VMS, but at some point it seems to :-&lt;BR /&gt;&lt;BR /&gt;    [To] =&amp;gt; Rob Alpha , Robert TBS &lt;BR /&gt;    [Subject] =&amp;gt; Testing Manuel Lemos' MIME E-mail composing and sending PHP class: HTML message&lt;BR /&gt;    [From] =&amp;gt; Robert Atkinson &lt;BR /&gt;    [Reply-To] =&amp;gt; Robert Atkinson &lt;BR /&gt;    [Sender] =&amp;gt; robert@xxxxxxxxx&lt;BR /&gt;    [Return-Path] =&amp;gt; robert@xxxxxxxxxx&lt;BR /&gt;    [X-Mailer] =&amp;gt; &lt;A href="http://www.phpclasses.org/mimemessage" target="_blank"&gt;http://www.phpclasses.org/mimemessage&lt;/A&gt; $Revision: 1.70 $ (mail)&lt;BR /&gt;    [MIME-Version] =&amp;gt; 1.0&lt;BR /&gt;    [Content-Type] =&amp;gt; multipart/alternative; boundary="7382dc4684130df990c17829671b46e2"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any PHP pro's know what's wrong, or can give me some sample code that can output a mixed content email?&lt;BR /&gt;&lt;BR /&gt;Thanks, Rob.&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Jan 2007 10:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-mime-encoded-emails-missing-content-type/m-p/3924778#M35307</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2007-01-11T10:53:32Z</dc:date>
    </item>
  </channel>
</rss>

