This project allows you to send PDF files as email attachments. The email addresses are extracted from the content of the PDFs. It uses SMTP for sending emails and supports SSL for secure communication.
- Python 3.x
- pip (Python package installer)
- Clone the repository:
git clone https:/your-username/email-pdf-sender.git cd email-pdf-sender
- Install required packages:
pip install -r requirements.txt
- Create the necessary directories:
mkdir -p data/PDFs
- Configure the
config.ini
file with your SMTP server details. - Place the PDF files to be sent in the
data/PDFs
directory. - Run the program:
python main.py
[EmailSettings]
smtp_host = [email protected]
smtp_port = 555
smtp_user = [email protected]
smtp_password = password
subject = Subject
body =
Body of the email
This project is licensed under the MIT license - see the LICENSE file for details