<div>Hi everyone. I have been developing an app for quite some time on a local machine here (OS X 10.4) which at various times throughout its life it needs to send out e-mails. I have been using Catalyst::Plugin::Email to send those e-mails, using authenticated SMTP from an e-mail account I have with Rackspace. My configuration looks like this:</div>
<div> </div>
<div>__PACKAGE__->config->{email} = [<br> 'SMTP', <br> 'my.smtp.server', <br> username => 'MyUsername', <br> password => 'MyPassword', <br>];</div>
<div> </div>
<div>Then in my app, whenever I need to send an e-mail, I use:</div>
<div> </div>
<div> $c->email(<br> header => [<br> From => '<<a href="mailto:me@mydomain.com">me@mydomain.com</a>> Me',<br> To => <a href="mailto:'email@recipient.com'">'email@recipient.com'</a>,<br>
Subject => 'The Subject.',<br> ],<br> body => "$body",<br> );</div>
<div> </div>
<div> </div>
<div>It's been working great during development, I get all the e-mails when they are supposed to be going out. The problem is that now that I am getting close to finished, I have done a test deployment to my public web server (CentOS 5.2), and now e-mails no longer get sent. I have verified that Catalyst::Plugin::Email is installed, and that I have the correct config information. Everything else about the app runs, and when it comes to a place where an e-mail should go out, it gets by it with no problem, but yet I never receive the e-mails. Also, I am unable to find any error log entry that might point me in the right direction.</div>
<div> </div>
<div>So my question is, first of all, is there something blindingly obvious I might be missing during deployment? Is there anything else that needs to be installed for Catalyst::Plugin::Email to work that I might not have installed - but yet would not cause the app to fail at startup? And finally, where should I look for any clues as to what is going on (like error logs, etc...)?</div>
<div> </div>
<div>Thanks for any help!</div>