I found this awesome tutorial on how to send emails on localhost that will open your Mail showing you the email that was sent from PHP, however this is slightly annoying getting Mail to open when an email is sent - I have some tasks that run in the background which sends an email for development reasons for my site so I can test the emails.
I want to be able to not get annoyed by getting popped up with emails, instead I would like it to pipe it to Mail and show in my inbox when I click "Get new messages" so I can look into the email whenever I want not at the instant when the email is sent.
I've looked into where Mail stores their email
~/Library/Mail/V2, I was wondering if I could adjust the script to add the email there, but it looks quite complication so I don't want to risk having any confusion or corruption happening.
Is there any possibility to store the mails without any problems so Mail can add it to my inbox list via PHP?