File size: 611 Bytes
3345ea7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import os

from dotenv import load_dotenv

from .app import app

load_dotenv()

if not os.getenv("SMTP_SERVER"):
    raise ValueError("SMTP_SERVER environment not set.")

if not os.getenv("SMTP_PORT"):
    raise ValueError("SMTP_PORT environment not set.")

if not os.getenv("SMTP_USERNAME"):
    raise ValueError("SMTP_USERNAME environment not set.")

if not os.getenv("SMTP_PASSWORD"):
    raise ValueError("SMTP_PASSWORD environment not set.")

if not os.getenv("SENDER_EMAIL"):
    raise ValueError("SENDER_EMAIL environment not set.")

__all__ = ["app"]
__version__ = "0.1.0"
__author__ = "Kanha Upadhyay"