edit script to use environment variable for user and password
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,8 +4,8 @@
|
||||
__pycache__/
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
venv
|
||||
.vscode
|
||||
/media
|
||||
settings.py
|
||||
.env
|
||||
env
|
||||
@@ -9,8 +9,10 @@ from dotenv import load_dotenv
|
||||
import os
|
||||
|
||||
msg = EmailMessage()
|
||||
# Subject should be dinamicly to add subject from olx
|
||||
msg['Subject'] = 'KIVI-CARS'
|
||||
msg['From'] = 'kivi-cars.ba'
|
||||
# Below is generated email adress using https://temp-mail.org/
|
||||
msg['To'] = 'harogi8832@leafzie.com'
|
||||
msg_body = """Pozdrav,
|
||||
Ovo je automatski generisana poruka u svrhu testiranja naseg servisa
|
||||
|
||||
Reference in New Issue
Block a user