<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV dir=ltr>
  <DIV class=gmail_extra>
  <DIV class=gmail_quote>
  <DIV>If you're handing off the mail to exim, you're fine.&nbsp; Your 
  implementation is correct for your use case</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>---&gt; Of course, I'm guessing I'm handing off to exim - I 
  should probably do something to check!</FONT></DIV>
  <DIV><FONT size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
  size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
  size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
  size=2></FONT><BR></DIV>
  <DIV>if the sign up for your service,</DIV>
  <DIV>queue a "send them a welcome email" job,</DIV>
  <DIV>and let the web request request return.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Then a separate process:</DIV>
  <DIV>sees that an email needs to be sent,</DIV>
  <DIV>generates the email,</DIV>
  <DIV>and hands it off to exim.</DIV><FONT size=2></FONT><FONT 
  size=2></FONT><FONT size=2></FONT><FONT size=2></FONT><FONT 
  size=2></FONT></DIV>
  <DIV class=gmail_quote>&nbsp;</DIV>
  <DIV class=gmail_quote><FONT size=2>----&gt; So what does the separate process 
  have to be? A process apart from my Catalyst app - like an entirely different 
  perl script that could be a cron job or something - or can I return a response 
  to the browser within my catalyst subroutine,&nbsp;and then call a private 
  catalyst subroutine to handle the email sending?</FONT></DIV>
  <DIV class=gmail_quote>
  <DIV><FONT size=2></FONT><FONT size=2></FONT><BR><FONT size=2>---&gt; And yes, 
  after the quick fix, it wouldn't hurt to debug and see if there are memory 
  issues. </FONT></DIV></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>