<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Jules,<div class="">I think PHPMailer will do what you want:</div><div class=""><a href="https://github.com/PHPMailer/PHPMailer/wiki/Tutorial" class="">https://github.com/PHPMailer/PHPMailer/wiki/Tutorial</a></div><div class=""><br class=""></div><div class="">Greg</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><p style="box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; font-family: proxima-nova, sans-serif; font-size: 16px; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class=""><img alt="Truman State University" src="http://identity.truman.edu/files/2013/11/2clogo.jpg" style="box-sizing: border-box; border: none; vertical-align: middle; margin: 0px; padding: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; height: auto; max-width: 100%;" class="">&nbsp;<br style="box-sizing: border-box;" class=""></p><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 14pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(112, 48, 160);" class="">Greg Marshall</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">Web Services Manager</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">IT Services</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">Truman State University</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">111C McClain Hall</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">100 E. Normal Avenue</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">Kirksville, MO 63501</div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class="">(660) 785-4254</div><p id="sigphone2" style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class=""></p><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class=""><a id="sigemail" href="mailto:gmarsh@truman.edu" style="box-sizing: border-box; color: rgb(112, 44, 145); text-decoration: none; margin: 0px; padding: 0px; border: 0px; font-family: proxima-nova, sans-serif; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline; cursor: pointer;" class="">gmarsh@truman.edu</a></div><div style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: Calibri, sans-serif; font-size: 11pt; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class=""><a href="http://www.truman.edu/" style="box-sizing: border-box; color: rgb(112, 44, 145); text-decoration: none; margin: 0px; padding: 0px; border: 0px; font-family: proxima-nova, sans-serif; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: 600; font-stretch: inherit; line-height: inherit; vertical-align: baseline; cursor: pointer;" class="">www.truman.edu</a></div><p style="box-sizing: border-box; margin: 0px 0px 25px; padding: 0px; border: 0px; font-family: proxima-nova, sans-serif; font-size: 16px; font-stretch: inherit; line-height: 1.4; vertical-align: baseline; color: rgb(51, 51, 51);" class=""><span style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: 14pt; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;" class="">Don’t follow.&nbsp;&nbsp;<span style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline;" class=""><span style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; vertical-align: baseline; color: rgb(112, 48, 160);" class="">Pursue.</span></span></span></p></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 9, 2017, at 4:59 AM, Jules &lt;<a href="mailto:Jules@zend.to" class="">Jules@zend.to</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Karl,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">I've thought of one problem of your approach: you should really put in both text and HTML variants of the message to create a multipart-alternative MIME message.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">However, if there are any PHP libraries out there which will do the MIME encoding for me, I can just add a template file for the HTML part of the message, and build the entire MIME message from the text part (which we already have in place) and the new HTML part. That allows for the possibility of adding an image or two within the message as well.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">If anyone out there fancies a quick dig for how to create multipart MIME messages in PHP, please do let me know what you find.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Cheers,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Jules.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><div class="moz-cite-prefix" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">On 08/03/2017 18:58, Jules wrote:<br class=""></div><blockquote cite="mid:91f31582-9291-9755-0a1c-e398bc665f4d@Zend.To" type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Karl,<br class=""><br class="">Me likes!<br class=""><br class="">That's simpler than what I originally had in mind, as you specifically are not embedding the image files. It does however mean that recipients who aren't displaying remote images have to click the "fetch the images" button in their mail client, which isn't *quite* as nice.<br class=""><br class="">But if people are happy to live with that as a compromise, I should be able to work this in very easily.<br class=""><br class="">BTW If you haven't spotted it yet, there's a bug in the way the "you haven't picked up your drop-off and it's about to expire" reminders are generated. Currently that means the URL to reach the download page is missing the<span class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="https://your-zendto.company.com/" style="color: rgb(149, 79, 114); text-decoration: underline;"><font color="red" class=""><b class="">MailScanner has detected a possible fraud attempt from "your-zendto.company.com" claiming to be</b></font><span class="Apple-converted-space">&nbsp;</span>"https://your-zendto.company.com/"</a><span class="Apple-converted-space">&nbsp;</span>off the front of it. So the links in the reminders don't work. The original messages sent out when the drop-off is created are fine, it's just the reminders when no one has picked up that drop-off at all, and it's about to expire.<br class=""><br class="">You can work around that by just hard-coding the start of the URL in dropoff_email.tpl.<br class="">You need to replace "{$zendToURL}" with something like<span class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="https://zendto.your-company.com/" style="color: rgb(149, 79, 114); text-decoration: underline;"><font color="red" class=""><b class="">MailScanner has detected a possible fraud attempt from "zendto.your-company.com" claiming to be</b></font><span class="Apple-converted-space">&nbsp;</span>"https://zendto.your-company.com/"</a><span class="Apple-converted-space">&nbsp;</span>or whatever is appropriate for you.<br class=""><br class="">I'm thinking about a solution to this...<br class=""><br class="">Cheers,<br class="">Jules.<br class=""><br class=""><br class=""><div class="moz-cite-prefix">On 08/03/2017 18:43, Karl Bundy wrote:<br class=""></div><blockquote cite="mid:8b4731cadd00458b874878c52f82a597@MBX03B-IAD3.mex08.mlsrvr.com" type="cite" class=""><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class="">Jules,<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class="">All I did was create the new email template, added a new function to the NSSDropbox.php file (see below) based on the existing deliverEmail function, then changed the NSSDropoff.php file to use the new function and new template.&nbsp; I did not embed/attach the image files, just set the URL in the HTML template.&nbsp; There are more sophisticated ways to send HTML email, but the Mail function has the basics to get the job done.<span class="Apple-converted-space">&nbsp;</span><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-bottom: 0.0001pt; background-color: white; background-position: initial initial; background-repeat: initial initial;" class=""><em class=""><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class="">/*!</span></em><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class=""><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;@function deliverEmailHTML</span></em><o:p class=""></o:p></span></p><p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-bottom: 0.0001pt; background-color: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; background-position: initial initial; background-repeat: initial initial;" class=""><em class=""><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class="">&nbsp; &nbsp;Send the $content of in an HTML formatted email message to (one or more) address(es) in&nbsp;$toAddr.</span></em><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class=""><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">*/</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">public function deliverEmailHTML(</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$toAddr,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$fromAddr,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$subject,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$content,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$headers = ""</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">)</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">{</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">// If it contains any characters outside 0x00-0x7f, then encode it</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">if (preg_match('/[^\x00-\x7f]/', $subject)) {</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$subject = "=?UTF-8?B?".base64_encode(html_entity_decode($subject))."?=";</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">}</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">if (preg_match('/[^\x00-\x7f]/', $fromAddr)) {</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$fromAddr = "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?=";</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">}</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">if (preg_match('/[^\x00-\x7f]/', $this-&gt;_emailSenderAddr)) {</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$sender = "=?UTF-8?B?".base64_encode(html_entity_decode($this-&gt;_emailSenderAddr))."?=";</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">} else {</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$sender = $this-&gt;_emailSenderAddr;</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">}</span></em><o:p class=""></o:p></span></p><p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-bottom: 0.0001pt; background-color: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; background-position: initial initial; background-repeat: initial initial;" class=""><em class=""><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class="">// Add the From: and Reply-To: headers if they have been supplied.</span></em><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class=""><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">if ($fromAddr!="") {</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$headers = sprintf("From: %s", $sender) . PHP_EOL .</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;&nbsp; &nbsp;sprintf("Reply-to: %s", $fromAddr) . PHP_EOL .</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;&nbsp; &nbsp;$headers;</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">}</span></em><o:p class=""></o:p></span></p><p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-bottom: 0.0001pt; background-color: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; background-position: initial initial; background-repeat: initial initial;" class=""><em class=""><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class="">// Add the MIME headers for 8-bit UTF-8 encoding</span></em><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class=""><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">$headers .= "MIME-Version: 1.0".PHP_EOL;</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">$headers .= "Content-type: text/html; charset=iso-8859-1".PHP_EOL;</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">$headers .= "Content-Transfer-Encoding: 8bit".PHP_EOL;</span></em><o:p class=""></o:p></span></p><p style="margin-right: 0in; margin-left: 0.5in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-bottom: 0.0001pt; background-color: white; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; background-position: initial initial; background-repeat: initial initial;" class=""><em class=""><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class="">return mail(</span></em><span style="font-size: 10.5pt; font-family: Arial, sans-serif; color: rgb(112, 112, 112);" class=""><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$toAddr,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$subject,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$content,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;$headers // JKF Commented out for now due to security concerns ,</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp;// JKF Commented out for now due to security concerns</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp; // '-f "'.$fromAddr.'"'</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">&nbsp; &nbsp; );</span></em><br class=""><em class=""><span style="font-family: Arial, sans-serif;" class="">}</span></em><o:p class=""></o:p></span></p><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class="">--- Karl<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(225, 225, 225); border-top-width: 1pt; padding: 3pt 0in 0in;" class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span style="color: windowtext;" class="">From:</span></b><span style="color: windowtext;" class=""><span class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline;">zendto-bounces@zend.to</a><span class="Apple-converted-space">&nbsp;</span>[<a moz-do-not-send="true" class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline;">mailto:zendto-bounces@zend.to</a>]<span class="Apple-converted-space">&nbsp;</span><b class="">On Behalf Of<span class="Apple-converted-space">&nbsp;</span></b>Jules<br class=""><b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>Wednesday, March 08, 2017 11:19 AM<br class=""><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>ZendTo Users<span class="Apple-converted-space">&nbsp;</span><a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:zendto@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline;">&lt;zendto@zend.to&gt;</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [ZendTo] Use different AD attribute<o:p class=""></o:p></span></div></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 11pt; font-family: Calibri, sans-serif;">Karl,<br class=""><br class="">Yes, I agree this would be nice. I basically haven't had time to sort it all out. As I need to make the message a multipart MIME structure, the email templates get a *lot* more complicated.<br class=""><br class="">What did you have to change except for any templates/*.tpl files?<br class="">Any changes you make to the *.tpl files will<span class="Apple-converted-space">&nbsp;</span><b class="">not</b><span class="Apple-converted-space">&nbsp;</span>be overwritten when you upgrade later.<br class=""><br class="">So any hints you've got as to what I need to change in order to support the massively more complex MIME messages, please do let me know.<br class=""><br class="">Thanks!<br class="">Jules.<br class=""><br class=""><span style="font-size: 12pt;" class=""><o:p class=""></o:p></span></p><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">On 22/02/2017 16:58, Karl Bundy wrote:<o:p class=""></o:p></div></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-family: Calibri, sans-serif; color: windowtext;" class="">Jules,</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">&nbsp;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">Thanks for all of your ongoing work on ZendTo, it has been a huge benefit for our team, and to the whole user community!&nbsp; </span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">&nbsp;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">A feature request that I would love to see is the option for HTML formatted email notices.&nbsp; They give a bit of polish to the system and oddly enough seem to give our users a bit more confidence in the system.&nbsp; I have hacked our instance to send HTML formatted emails (see screenshot below) and I while what I have works fine, it would be great if this type of functionality was built-in to the system so that I don’t have to add back this functionality anytime we do upgrades.</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">&nbsp;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span id="cid:part6.6AFFDEC6.3D5D2ED3@Zend.To">&lt;Mail Attachment.jpeg&gt;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">&nbsp;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">Thanks,</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">&nbsp;</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: windowtext;" class="">Karl</span><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">_______________________________________________<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">ZendTo mailing list<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><a moz-do-not-send="true" href="mailto:ZendTo@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">ZendTo@zend.to</a><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p class=""></o:p></pre></blockquote><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">Jules<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><o:p class="">&nbsp;</o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">-- <o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">Julian Field MEng MBCS CITP CEng<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><o:p class="">&nbsp;</o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">'Once is happenstance, twice is coincidence, three times is enemy<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""> action.' - Ian Fleming<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><o:p class="">&nbsp;</o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class=""><a moz-do-not-send="true" href="http://www.zend.to/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">www.Zend.To</a><o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">Twitter: @JulesFM<o:p class=""></o:p></pre><pre style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p class=""></o:p></pre></div><fieldset class="mimeAttachmentHeader"></fieldset><pre wrap="" style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';" class="">_______________________________________________
ZendTo mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline;">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" style="color: rgb(149, 79, 114); text-decoration: underline;">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre></blockquote><pre class="moz-signature" cols="72" style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New';">Jules

-- 
Julian Field MEng MBCS CITP CEng

'There is one thing stronger than all the armies in the world;
 and that is an idea whose time has come.'

<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.zend.to/" style="color: rgb(149, 79, 114); text-decoration: underline;">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre></blockquote><pre class="moz-signature" cols="72" style="margin: 0in 0in 0.0001pt; font-size: 10pt; font-family: 'Courier New'; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Jules

-- 
Julian Field MEng MBCS CITP CEng

'Adversity is like a strong wind. I don't mean just that it holds
 us back from places we might otherwise go. It also tears away from
 us all but the things that cannot be torn, so that afterward we see
 ourselves as we really are, and not merely as we might like to be.'
 - Arthur Golden

<a class="moz-txt-link-abbreviated" href="http://www.zend.to/" style="color: rgb(149, 79, 114); text-decoration: underline;">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">ZendTo mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="mailto:ZendTo@zend.to" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">ZendTo@zend.to</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></div></blockquote></div><br class=""></div></body></html>