mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
feat: add smtp creds configuration
This commit is contained in:
@@ -17,6 +17,8 @@ BACKEND_PORT=8001
|
||||
# EMAIL
|
||||
EMAIL_HOST=127.0.0.1
|
||||
EMAIL_PORT=1026
|
||||
EMAIL_HOST_USER=test
|
||||
EMAIL_HOST_PASSWORD=password123
|
||||
FROM_EMAIL="Test <test@pi-ku.app>"
|
||||
EMAIL_API_PORT=8026
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@ BACKEND_PORT=8000
|
||||
# EMAIL
|
||||
EMAIL_HOST=127.0.0.1
|
||||
EMAIL_PORT=1025
|
||||
EMAIL_HOST_USER=test
|
||||
EMAIL_HOST_PASSWORD=password123
|
||||
FROM_EMAIL="Pi Ku <no-reply@test.com>"
|
||||
|
||||
# FRONTEND
|
||||
|
||||
@@ -128,6 +128,8 @@ AUTH_COOKIE = {
|
||||
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
|
||||
EMAIL_HOST = env("EMAIL_HOST")
|
||||
EMAIL_PORT = env("EMAIL_PORT")
|
||||
EMAIL_HOST_USER = env("EMAIL_HOST_USER")
|
||||
EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
|
||||
EMAIL_USE_TLS = not DEBUG
|
||||
FROM_EMAIL = env("FROM_EMAIL")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user