<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-GB link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>-- snip -- <o:p></o:p></p><p class=MsoNormal>> Everytime It gets to the call to create a new MIME message, interchange hangs until apache times out.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> I have tried the same code in a [perl] block and it does the same thing, but as a native perl script outside of Interchange it works fine.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> The [email] tag works fine for non-html email or emails with no attachments, because they do not use MIME.<o:p></o:p></p><p class=MsoNormal>-- snip --<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>>Hi Phil,<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>>Are you using the same To/From addresses in your test emails outside of interchange?  (I assume so, just trying to think >if there’s some way some sort of DNS issue is at play, as that’s my initial suspicion any time there are unexplained >network delays.)<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>>What versions of MIME::Lite/IC are you using?<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>>Best,<o:p></o:p></p><p class=MsoNormal>><o:p> </o:p></p><p class=MsoNormal>>David<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Apologies if this email is formatted weird, my email client is messed up.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have tried this on an old working install of IC and there its is fine, so I’m guessing there is now an incompatibility between IC/perl/MIME::lite?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My New server (hangs in IC) is Perl 5.20.2, MIME::Lite 3.031, IC 5.10.0</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My old server (working fine) is Perl 5.8.8, MIMI::Lite 3.01, IC 5.7.2</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As a standalone perl script the same code works fine on both servers, just when ran thru IC (in a [perl] block in a page, as a UserTag or in the test_code admin page) it hangs on the MIME::Lite->new() creation of the object.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any more advice greatly received.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Phil.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt=""  width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body></html>