Verify email
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
Hello MERMS message sent for account verification
|
||||
<a href='https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd'>https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd</a>
|
||||
@@ -103,13 +103,14 @@ engine = create_engine(dataUrl)
|
||||
|
||||
@app.route("/")
|
||||
def hello_world():
|
||||
msg = Message(
|
||||
'Hello',
|
||||
sender ='message@chiefsoft.com',
|
||||
recipients = ['ses66181@gmail.com']
|
||||
)
|
||||
msg.body = 'Hello Flask message sent from Flask-Mail'
|
||||
mail.send(msg)
|
||||
send_register_mail('ameye@chiefsoft.com')
|
||||
# msg = Message(
|
||||
# 'Hello',
|
||||
# sender ='message@chiefsoft.com',
|
||||
# recipients = ['ses66181@gmail.com']
|
||||
# )
|
||||
# msg.body = 'Hello Flask message sent from Flask-Mail'
|
||||
# mail.send(msg)
|
||||
|
||||
return jsonify(action_data="sent")
|
||||
|
||||
@@ -264,9 +265,15 @@ def send_register_mail(signup_email):
|
||||
sender ='message@chiefsoft.com',
|
||||
recipients = [signup_email,'ameye+merscopy@chiefsoft.com']
|
||||
)
|
||||
msg.body = """Hello MERMS message sent for account verification
|
||||
<a href='https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd'>https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd</a>
|
||||
msg.body = """Hello Firstname,
|
||||
You recived this message for account verification
|
||||
|
||||
Follow the link: https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd
|
||||
|
||||
For any Support
|
||||
Reach Out
|
||||
"""
|
||||
|
||||
mail.send(msg)
|
||||
|
||||
@app.route("/panel/auth/reset", methods=["POST"])
|
||||
|
||||
Reference in New Issue
Block a user