<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The great bit about open source software, you can tweak it so it
    does what you want if it can't do it already! :-)<br>
    <br>
    Cheers,<br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 12/03/2013 16:04, Gray McCord wrote:<br>
    </div>
    <blockquote cite="mid:CD64B7A1.64D30%25gdm@sangabriel.com"
      type="cite">
      <div>
        <div>
          <div>Well, you are correct. After brushing up on my RFC1341 I
            figured out that the reason I was having problems was that I
            needed to add the "boundary" parameter to the "Content-Type"
            header and them incorporate it in the template. I actually
            chose to use "multipart/alternative", which lets me put both
            an html and text version in the same email template. Seems
            to work great. &nbsp;Text-only mail clients see the text version
            and HTML-capable clients display only the HTML version,
            which is the behavior I'm looking for. If I use
            "multipart/mixed", both show up in HTML-capable clients.
            Plus or minus getting my HTML under control in the template,
            it works great!</div>
          <div><br>
          </div>
          <div>Thanks, Jules</div>
          <div><br>
          </div>
          <div>Gray</div>
          <div><br>
          </div>
          <div>
            <div>
              <div class="MsoNormal" style="margin: 0in 0in 0.0001pt;
                font-size: 11pt; "><span style="font-family:
                  'Copperplate Gothic Light', sans-serif; ">Gray McCord</span></div>
              <div class="MsoNormal" style="margin: 0in 0in 0.0001pt;
                font-size: 11pt; "><i><span style="font-size: 10pt;
                    color: rgb(227, 108, 10); font-family: 'Copperplate
                    Gothic Light', sans-serif; ">Adapt, Mutate, Migrate,
                    or Die</span></i></div>
              <div class="MsoNormal" style="margin: 0in 0in 0.0001pt;
                font-size: 11pt; "><span style="font-size: 9pt; color:
                  rgb(227, 108, 10); font-family: 'Copperplate Gothic
                  Light', sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  -C. Darwin</span></div>
            </div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span
            style="font-weight:bold">From: </span> Jules &lt;<a
            moz-do-not-send="true" href="mailto:Jules@zend.to">Jules@zend.to</a>&gt;<br>
          <span style="font-weight:bold">Organization: </span> ZendTo<br>
          <span style="font-weight:bold">Reply-To: </span> ZendTo Users
          &lt;<a moz-do-not-send="true" href="mailto:zendto@zend.to">zendto@zend.to</a>&gt;<br>
          <span style="font-weight:bold">Date: </span> Tuesday, March
          12, 2013 7:51 AM<br>
          <span style="font-weight:bold">To: </span> ZendTo Users &lt;<a
            moz-do-not-send="true" href="mailto:zendto@zend.to">zendto@zend.to</a>&gt;<br>
          <span style="font-weight:bold">Subject: </span> [ZendTo] Re:
          HTML Email formatting?<br>
        </div>
        <div><br>
        </div>
        <div>
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <div bgcolor="#FFFFFF" text="#000000"> But if you only use
            text/html, then only mail apps that can display HTML (and
            are configured to do so) can/will show any message content
            at all. Anything that can only render plain text (or has
            been set to just show plain text emails, which is fairly
            easy in Thunderbird and Outlook, I believe) won't be able to
            show anything as there's no text/plain message segment at
            all.<br>
            <br>
            Also, without multipart/mixed you can't embed an image of
            any sort, which many people might want to do so they can put
            an image in their sig like you do.<br>
            <br>
            Jules.<br>
            <br>
            <div class="moz-cite-prefix">On 11/03/2013 18:34, Gray
              McCord wrote:<br>
            </div>
            <blockquote cite="mid:CD638CFB.648C4%25gdm@sangabriel.com"
              type="cite">
              <div>
                <div>
                  <div>Turns out I had to change the content type to
                    text/html to make it work. When I used
                    multipart/mixed, Mailscanner (familiar with it? ;-)
                    &nbsp;) quarantined the mails and sent me nasty messages.
                    Works great now!</div>
                  <div><br>
                  </div>
                  <div>Thanks!</div>
                  <div><br>
                  </div>
                  <div>Gray</div>
                  <div><br>
                  </div>
                  <div>
                    <div>
                      <div class="MsoNormal" style="margin: 0in 0in
                        0.0001pt; font-size: 11pt; "><span
                          style="font-family: 'Copperplate Gothic
                          Light', sans-serif; ">Gray McCord</span></div>
                      <div class="MsoNormal" style="margin: 0in 0in
                        0.0001pt; font-size: 11pt; "><i><span
                            style="font-size: 10pt; color: rgb(227, 108,
                            10); font-family: 'Copperplate Gothic
                            Light', sans-serif; ">Adapt, Mutate,
                            Migrate, or Die</span></i></div>
                      <div class="MsoNormal" style="margin: 0in 0in
                        0.0001pt; font-size: 11pt; "><span
                          style="font-size: 9pt; color: rgb(227, 108,
                          10); font-family: 'Copperplate Gothic Light',
                          sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                          -C. Darwin</span></div>
                    </div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
              <div><br>
              </div>
              <span id="OLK_SRC_BODY_SECTION">
                <div style="font-family:Calibri; font-size:11pt;
                  text-align:left; color:black; BORDER-BOTTOM: medium
                  none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in;
                  PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP:
                  #b5c4df 1pt solid; BORDER-RIGHT: medium none;
                  PADDING-TOP: 3pt"><span style="font-weight:bold">From:
                  </span> Jules &lt;<a moz-do-not-send="true"
                    href="mailto:Jules@zend.to">Jules@zend.to</a>&gt;<br>
                  <span style="font-weight:bold">Organization: </span>
                  ZendTo<br>
                  <span style="font-weight:bold">Reply-To: </span>
                  ZendTo Users &lt;<a moz-do-not-send="true"
                    href="mailto:zendto@zend.to">zendto@zend.to</a>&gt;<br>
                  <span style="font-weight:bold">Date: </span> Monday,
                  March 11, 2013 9:13 AM<br>
                  <span style="font-weight:bold">To: </span> ZendTo
                  Users &lt;<a moz-do-not-send="true"
                    href="mailto:zendto@zend.to">zendto@zend.to</a>&gt;<br>
                  <span style="font-weight:bold">Subject: </span>
                  [ZendTo] Re: HTML Email formatting?<br>
                </div>
                <div><br>
                </div>
                <div>
                  <meta content="text/html; charset=ISO-8859-1"
                    http-equiv="Content-Type">
                  <div bgcolor="#FFFFFF" text="#000000"> This would
                    require a tiny change to the code to insert the
                    relevant headers, and then a rewrite of the email
                    templates in /opt/zendto/templates/*email.tpl.<br>
                    <br>
                    The change is in /opt/zendto/lib/NSSDropbox.php, in
                    the function "deliverEmail". You would need to
                    change the Content-Type header to be
                    "multipart/mixed" and set the separator line and so
                    on so that the message was correctly built in MIME
                    format.<br>
                    <br>
                    If you're up to doing that (look at the headers and
                    source structure for a simple HTML email containing
                    a bit of styled text and you'll see the layout
                    used), then it's not too big a job.<br>
                    <br>
                    I haven't done it in ZendTo already because getting
                    the email template exactly right is probably beyond
                    the abilities of most administrators, so they would
                    just end up breaking it. Not a good result. :-(<br>
                    It's simpler for everyone getting it going if they
                    are just plain text.<br>
                    <br>
                    Jules.<br>
                    <br>
                    <div class="moz-cite-prefix">On 07/03/2013 15:19,
                      Gray McCord wrote:<br>
                    </div>
                    <blockquote
                      cite="mid:CD5E0C2B.63379%25gdm@sangabriel.com"
                      type="cite">
                      <div>
                        <div>
                          <div>Is there any way to format the outgoing
                            email notifications as HTML? I'd like to
                            apply a bit more branding to the
                            installation I'm working on and was
                            wondering if I could make the emails a bit
                            more user-friendly.</div>
                          <div><br>
                          </div>
                          <div>Thanks!</div>
                          <div><br>
                          </div>
                          <div>Gray</div>
                          <div><br>
                          </div>
                          <div>
                            <div>
                              <div class="MsoNormal" style="margin: 0in
                                0in 0.0001pt; font-size: 11pt; "><span
                                  style="font-family: 'Copperplate
                                  Gothic Light', sans-serif; ">Gray
                                  McCord</span></div>
                              <div class="MsoNormal" style="margin: 0in
                                0in 0.0001pt; font-size: 11pt; "><i><span
                                    style="font-size: 10pt; color:
                                    rgb(227, 108, 10); font-family:
                                    'Copperplate Gothic Light',
                                    sans-serif; ">Adapt, Mutate,
                                    Migrate, or Die</span></i></div>
                              <div class="MsoNormal" style="margin: 0in
                                0in 0.0001pt; font-size: 11pt; "><span
                                  style="font-size: 9pt; color: rgb(227,
                                  108, 10); font-family: 'Copperplate
                                  Gothic Light', sans-serif; ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;


                                  -C. Darwin</span></div>
                            </div>
                            <div><br>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      -- <br>
                      This message has been scanned for viruses and <br>
                      dangerous content by <a moz-do-not-send="true"
                        href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
                      and is <br>
                      believed to be clean. <br>
                      <fieldset class="mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre wrap="">_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
                      <br>
                      <pre class="moz-signature" cols="72">Jules

--
Julian Field MEng MBCS CITP CEng

Viking: Variable 4, becoming northwest 5 or 6. Moderate, becoming rough later.
Snow showers. Good, occasionally poor.

<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
                    </blockquote>
                  </div>
                  <br>
                  -- <br>
                  This message has been scanned for viruses and <br>
                  dangerous content by <a moz-do-not-send="true"
                    href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
                  and is <br>
                  believed to be clean. </div>
                _______________________________________________ ZendTo
                mailing list <a moz-do-not-send="true"
                  href="mailto:ZendTo@zend.to">ZendTo@zend.to</a> <a
                  moz-do-not-send="true"
                  href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></span><br>
              -- <br>
              This message has been scanned for viruses and <br>
              dangerous content by <a moz-do-not-send="true"
                href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
              and is <br>
              believed to be clean. <br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre wrap="">_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
              <br>
              <pre class="moz-signature" cols="72">Jules

--
Julian Field MEng MBCS CITP CEng

'What happened in the past that was painful, has a great deal to
 do with what we are today.' - William Glasser

<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
            </blockquote>
          </div>
          <br>
          --
          <br>
          This message has been scanned for viruses and
          <br>
          dangerous content by
          <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
          and is
          <br>
          believed to be clean.
        </div>
        _______________________________________________
        ZendTo mailing list
        <a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
        <a moz-do-not-send="true"
          href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></span><br>
      -- <br>
      This message has been scanned for viruses and
      <br>
      dangerous content by
      <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
      and is
      <br>
      believed to be clean.
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
      <br>
      <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng

'When a man points a finger at someone else, he should remember
 that four of his fingers are pointing at himself.' - Louis Nizer

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
    </blockquote>
  </body>
</html>