title: Sending email via Amazon SES from php command line
body: <p>I've been using a php wrapper from <a href="http://www.orderingdisorder.com/aws/ses/" rel="nofollow">http://www.orderingdisorder.com/aws/ses/</a> to send emails via Amazon SES successfully for several months. I now need to automate some emails from batch jobs and have created php scripts to be ran from the command line, executed by crontab.</p>
  
  <p>The problem I'm having is that although the scripts run fine, and the tasks within them complete without issues, and although the ses part is returning a messageid and requestid, I do not receive the emails.</p>
  
  <p>I've checked for environmental differences between the php web config and command-line config but can't see anything obvious. Anyone experienced this issue or got any pointers for where I can look into next? Cheers.</p>
  
  <p>EDIT: Got it: SES doesn't seem to like the from and to addresses being the same anymore</p>