views:

20

answers:

1

I am trying to make an application which can parse emails and update the database. I tried to set up the localhost to send and receive emails so that I can carry on from there. I am unable to do that. I tried configuring Outlook, Thunderbird to set up local email system using mercury mail server. Its not working properly.

I would like to have a step by step procedure explaining how to make this work.

Any help will be greatly appreciated.

A: 

For sending emails via SMTP in PHP you only have to change SMTP = localhost in the [mail function] section of PHP.INI to the SMTP of your ISP. Also you need to change the port for some ISPs that block the default port (25). Exemple:

[mail function]
SMTP = mail.mydomain.com
smtp_port = 2525
AlexV
i did that as well... but something is wrong!! I followed these steps -> http://www.tech2all.com/2006/03/12/how-to-setup-your-own-e-mail-server/#idc-cover but not working
batty
I did that numerous times in the past with success. Maybe your ISP block port 25?
AlexV