I am developing a web application in php. My task is to download all the mails from a mail server and save it into the database and the attachments will be saved in a folder. The user then opens up the mails with their attachments inside the application. The mails come on a daily basis. Only the new mails should be saved into the database. What I mean is that duplicate data should not be saved in the database.

Please help me how to go forward with this.

Any help is much appreciated.


hy how is this coming I want to develop a system like this for my cleints

Can you share anything you have learnt so far


ok i know that we will have to get the data using imap services for sure then link that your php application.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.