Use mailcatcher by default.
This commit is contained in:
+8
-6
@@ -1,12 +1,14 @@
|
|||||||
# Flask Configuration
|
# Flask Configuration
|
||||||
SECRET_KEY=your-secret-key-here
|
SECRET_KEY=your-secret-key-here
|
||||||
|
|
||||||
# Email Configuration (for sending resume links)
|
# Email Configuration (defaults to mailcatcher for development)
|
||||||
MAIL_SERVER=smtp.gmail.com
|
# For mailcatcher: use defaults (localhost:1025, no auth)
|
||||||
MAIL_PORT=587
|
# For production: uncomment and configure real SMTP server
|
||||||
MAIL_USE_TLS=True
|
#MAIL_SERVER=smtp.gmail.com
|
||||||
MAIL_USERNAME=your-email@example.com
|
#MAIL_PORT=587
|
||||||
MAIL_PASSWORD=your-app-password-here
|
#MAIL_USE_TLS=True
|
||||||
|
#MAIL_USERNAME=your-email@example.com
|
||||||
|
#MAIL_PASSWORD=your-app-password-here
|
||||||
MAIL_DEFAULT_SENDER=noreply@example.com
|
MAIL_DEFAULT_SENDER=noreply@example.com
|
||||||
|
|
||||||
# Company Settings
|
# Company Settings
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ class Config:
|
|||||||
# Flask settings
|
# Flask settings
|
||||||
SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')
|
SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')
|
||||||
|
|
||||||
# Email settings
|
# Email settings (defaults configured for mailcatcher)
|
||||||
MAIL_SERVER = os.getenv('MAIL_SERVER', 'smtp.gmail.com')
|
MAIL_SERVER = os.getenv('MAIL_SERVER', 'localhost')
|
||||||
MAIL_PORT = int(os.getenv('MAIL_PORT', 587))
|
MAIL_PORT = int(os.getenv('MAIL_PORT', 1025))
|
||||||
MAIL_USE_TLS = os.getenv('MAIL_USE_TLS', 'True') == 'True'
|
MAIL_USE_TLS = os.getenv('MAIL_USE_TLS', 'False') == 'True'
|
||||||
MAIL_USERNAME = os.getenv('MAIL_USERNAME')
|
MAIL_USERNAME = os.getenv('MAIL_USERNAME')
|
||||||
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
|
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
|
||||||
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER', 'noreply@example.com')
|
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER', 'noreply@example.com')
|
||||||
@@ -22,7 +22,7 @@ class Config:
|
|||||||
COMPANY_NAME = os.getenv('COMPANY_NAME', 'Unser Unternehmen')
|
COMPANY_NAME = os.getenv('COMPANY_NAME', 'Unser Unternehmen')
|
||||||
|
|
||||||
# HR notification settings
|
# HR notification settings
|
||||||
HR_EMAIL = os.getenv('HR_EMAIL')
|
HR_EMAIL = os.getenv('HR_EMAIL', 'hr@example.com')
|
||||||
APPLICATION_URL_BASE = os.getenv('APPLICATION_URL_BASE', 'http://localhost:5000')
|
APPLICATION_URL_BASE = os.getenv('APPLICATION_URL_BASE', 'http://localhost:5000')
|
||||||
|
|
||||||
# Application settings
|
# Application settings
|
||||||
|
|||||||
Reference in New Issue
Block a user