This project provides a solution for sending bulk emails using multiple bots concurrently. It's designed to be flexible, allowing for the use of multiple SMTP servers, and can be configured to use proxies for sending emails.
- Python environment.
smtplibandosPython standard libraries.- SMTP sample file (
smtps.txt) with the following structure:
- URL:
- METHOD:
- MAILHOST: <SMTP_HOST>
- MAILPORT: <SMTP_PORT>
- MAILUSER: <SMTP_USER>
- MAILPASS: <SMTP_PASS>
- MAILFROM: <MAIL_FROM> (Optional)
- FROMNAME: <FROM_NAME> (Optional)
- "\n" NEW LINE BETWEEN EACH SMTP
- Clone the repository.
- Install the required dependencies.
- Set up your
.envfile with the necessary configurations (see Configuration section).
The .env file contains various configurations for the email sender:
- Email Content: Set your default email subject and body.
- Proxy Configuration: Choose whether to use HTTP or SOCKS proxies.
- File Management: Specify the path to your leads file and the smtps file.
- Bots Configuration: Set the number of bots and the delay between email sends.
- Logging Configuration: Specify the path to the log file.
- Optional Test Email Insertion: Decide whether to insert a test email at specified intervals.
For a detailed breakdown of each configuration, refer to the provided .env file in the repository.
- Ensure your leads file is populated with the email addresses you want to target.
- If using proxies, make sure the respective proxy files (
http_proxies.txtandsocks.txt) are populated. - Ensure your smtps file is populated with the smtps credentials in the right format.
- Run the
main.pyscript to start the email sending process.
- .env: Contains configuration details.
- utils.py: Utility functions for the project.
- bots.py: Logic related to the email sending bots.
- leads_management.py: Functions related to managing and cleaning email leads.
- main.py: The main execution script that organizes and calls other methods.
Contributions are welcome! Please ensure that any changes made are in line with the project's overall goals and functionalities.
This project is licensed under the MIT License.