title: Is it possible to retrieve emails sent by php mail() on the server?
body: <p>I am using PHP's mail() function to send emails from my application. Is there any way to see the emails that have been sent if I SSH into the server? I need the actual body of the emails not just a record of the action. This is probably a longshot but any help would be appreciated.</p>
  
  <p>EDIT: I should have been clearer. This is for messages already sent in the past. I can definitely take steps to log or otherwise report sent messages in the future but is there a way to retrieve messages that have already been sent?</p>