Skip to content

DocKenny/EmailAttachmentSender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email PDF Sender

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.

Table of Contents

Installation

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Steps

  1. Clone the repository:
    git clone https:/your-username/email-pdf-sender.git
    cd email-pdf-sender
  2. Install required packages:
    pip install -r requirements.txt
  3. Create the necessary directories:
    mkdir -p data/PDFs

Usage

  1. Configure the config.ini file with your SMTP server details.
  2. Place the PDF files to be sent in the data/PDFs directory.
  3. Run the program:
    python main.py

Configuration

Example Configuration (config/config.ini)

[EmailSettings]
smtp_host = [email protected]
smtp_port = 555
smtp_user = [email protected]
smtp_password = password
subject = Subject
body = 
    Body of the email

License

This project is licensed under the MIT license - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages