This repository was created for learning purposes and to create a PHP mail server.
To get started with this project, you will need to have PHP and a mail server installed on your machine.
You can download PHP from the official website and install it on your machine.
After installing PHP, you can clone this repository using the following command:
git clone /~https://github.com/devangtomar/php-mailserver.git
Then, navigate to the project directory and start your mail server.
This project contains a PHP script that can be used to send emails from your mail server.
To use the script, open the send_email.php
file in a text editor and modify the variables at the top of the file to match your mail server settings.
Then, save the file and run it from the command line using the following command:
php send_email.php
The script will prompt you for the email address of the recipient, the subject of the email, and the body of the email.
If you would like to contribute to this repository, please create an issue or submit a pull request. We welcome contributions of all kinds, from bug fixes to new features.
Before contributing, please make sure to read our code of conduct and contribution guidelines.
This repository is licensed under the MIT License. See the LICENSE file for more information.