Notifications
Clear all

[Closed] About PHP Email Backup System

1 Posts
1 Users
0 Reactions
195 Views
(@cafer)
Admin Admin
Joined: 10 years ago
Posts: 12
Topic starter  

With this PHP email backup system, you can retrieve your emails from the server and store them in a database. This way, even if emails are deleted from the server, they will always remain in the database.

Please don't consider this as a large-scale email backup system. I created this simple email backup system according to my own needs and wanted to share it with everyone.

What does this PHP email backup system do?

If you're using your hosting package's emails, you're likely to have limited storage space. Alternatively, when you set up emails on your computer via POP3, you risk losing them all if something happens to your computer. Therefore, with this system, you can fetch emails from the email server's inbox and sent folders and store them in your own database.

1. You can store email backups on an unused computer by installing a WAMP server there. Be sure to back up your computer's disk, or you could lose everything suddenly.

2. You can purchase a hosting package from any desired provider and install it there. This way, you can store your emails in your own hosting database, which is slightly more secure because hosting companies regularly back up data for you.

System Installation

1. First, create a database along with a username and password. After creating these, fill in the necessary fields in "config.php" with the information you have generated.

2. In the files "fetch_emails.php" and "fetch_sent_emails.php", update the "hostname, username, password" sections at the top with your own email server information.

3. Execute the link https://yourweblink.com/install.php to create the necessary table structures within the database. Once the table setup is complete, please delete or rename the install.php file for your security.

System Usage

Once installation is complete, you'll be redirected to the homepage. To fetch emails from the Inbox and Sent folders on your server, click the "Sync Emails" button located in the top right corner to save them to your database. Note that the "Sync Emails" buttons for the Inbox and Sent folders are separate, so you'll need to click each button separately to download emails from both folders.

Download

You can download the system code files from github: https://github.com/caferkara/PHP-Email-Backup-System

This topic was modified 6 months ago 2 times by Cafer
This topic was modified 2 months ago by Cafer

   
Share: