Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 949 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 949 Bytes

Sending Email with Attachment using Django

This guide demonstrates how to send an email with an attachment using Django. You'll have a submit button in your application that, when clicked, sends an email to the recipient with a CC.

Important Steps

  1. Rename the Configuration File
    • Rename the file .env.example to .env
    • Open the .env file and enter your email address and app password. Follow the instructions in CreateAppPass.md to create an app password.

Getting Started

Clone the Repository

  1. Open your terminal.

  2. Clone the repository using the following command:

    git clone [email protected]:sunnatTuychiyev/Django-Email-Sender.git

Install Dependencies

Install the project dependencies using pip:

pip install -r requirements.txt

Run the Development Server

To start the development server, run:

python manage.py runserver