Skip to content

Commit

Permalink
Added SMTP Encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed May 31, 2024
1 parent 9604737 commit ccd31d4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ SMTP_PASSWORD=smtp_settings['password']
SMTP_FROM_NAME=f'"Documenso" <{smtp_settings["username"]}>'
# REQUIRED: Defines the email address to use as the from address.
SMTP_FROM_ADDRESS=smtp_settings['username']
SMTP_ENCRYPTION=smtp_settings['encrypt_smtp']


NEXTAUTH_URL = data.get("NEXTAUTH_URL", f'https://{host}')
Expand All @@ -58,14 +59,14 @@ NEXT_PRIVATE_UPLOAD_BUCKET = data.get("NEXT_PRIVATE_UPLOAD_BUCKET", "")
NEXT_PRIVATE_UPLOAD_ACCESS_KEY_ID = data.get("NEXT_PRIVATE_UPLOAD_ACCESS_KEY_ID", "")
NEXT_PRIVATE_UPLOAD_SECRET_ACCESS_KEY = data.get("NEXT_PRIVATE_UPLOAD_SECRET_ACCESS_KEY", "")

NEXT_PRIVATE_SMTP_TRANSPORT = data.get("NEXT_PRIVATE_SMTP_TRANSPORT", "")
NEXT_PRIVATE_SMTP_TRANSPORT = data.get("NEXT_PRIVATE_SMTP_TRANSPORT", "smtp-auth")
NEXT_PRIVATE_SMTP_HOST = data.get("NEXT_PRIVATE_SMTP_HOST", SMTP_HOST)
NEXT_PRIVATE_SMTP_PORT = data.get("NEXT_PRIVATE_SMTP_PORT", SMTP_PORT)
NEXT_PRIVATE_SMTP_USERNAME = data.get("NEXT_PRIVATE_SMTP_USERNAME", SMTP_USERNAME)
NEXT_PRIVATE_SMTP_PASSWORD = data.get("NEXT_PRIVATE_SMTP_PASSWORD", SMTP_PASSWORD)
NEXT_PRIVATE_SMTP_APIKEY_USER = data.get("NEXT_PRIVATE_SMTP_APIKEY_USER", "")
NEXT_PRIVATE_SMTP_APIKEY = data.get("NEXT_PRIVATE_SMTP_APIKEY", "")
NEXT_PRIVATE_SMTP_SECURE = data.get("NEXT_PRIVATE_SMTP_SECURE", "")
NEXT_PRIVATE_SMTP_SECURE = data.get("NEXT_PRIVATE_SMTP_SECURE", SMTP_ENCRYPTION)
NEXT_PRIVATE_SMTP_FROM_NAME = data.get("NEXT_PRIVATE_SMTP_FROM_NAME", SMTP_FROM_NAME)
NEXT_PRIVATE_SMTP_FROM_ADDRESS = data.get("NEXT_PRIVATE_SMTP_FROM_ADDRESS", SMTP_FROM_ADDRESS)

Expand Down

0 comments on commit ccd31d4

Please sign in to comment.