Email send
This commit is contained in:
@@ -109,8 +109,8 @@ class RegisterService(BaseService):
|
||||
|
||||
def send_register_mail(signup_email, email_uid,last_row_id,firstname):
|
||||
|
||||
sender_email = "message@chiefsoft.com"
|
||||
sender_password = 'may12002!' # Use an app-specific password if using Gmail
|
||||
sender_email = "support@wrenchboard.com"
|
||||
sender_password = 'May12002!xF7F220A97f' # Use an app-specific password if using Gmail
|
||||
receiver_email = signup_email
|
||||
subject = "Python Email Test"
|
||||
body = "This is a test email sent from Python."
|
||||
|
||||
@@ -10,6 +10,8 @@ services:
|
||||
- FLASK_APP=${FLASK_APP}
|
||||
- FLASK_ENV=${FLASK_ENV}
|
||||
- DATABASE_URL=postgresql+psycopg2://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
|
||||
extra_hosts:
|
||||
- smtp.gmail.com:10.10.33.15
|
||||
volumes:
|
||||
- .:/app
|
||||
restart: always
|
||||
|
||||
@@ -10,6 +10,8 @@ services:
|
||||
- FLASK_APP=${FLASK_APP}
|
||||
- FLASK_ENV=${FLASK_ENV}
|
||||
- DATABASE_URL=postgresql+psycopg2://${DATABASE_USER}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
|
||||
extra_hosts:
|
||||
- smtp.gmail.com:10.10.33.15
|
||||
volumes:
|
||||
- .:/app
|
||||
restart: always
|
||||
Reference in New Issue
Block a user