I am trying to receive mails in my local server running XAMPP. I have Mercury and outlook configured and running according to this: http://system66.blogspot.in/2010/01/how-to-send-mail-from-localhost-with.html
My goal is that, I must be able to send a mail from [email protected] to someaddress@localhost and I want to parse the received mail and store it in a MySQL DB.
I saw many references telling how to send mail from localhost (using gmail's smtp server using sendmail) but I dont find any resource telling me how to receive mail from anyone onto my local computer. Once I receive the mail to my PC, I can parse it and store it in DB. The only problem is getting the mail. Please help me out.
PS: I have configured php.ini and sendmail.ini files for doing the operations. Firewalls are disabled and ports are available.
If you dont understand my question, imagine my pc as a mail server which is trying to get the mail sent to [email protected]