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("/")
|
@app.route("/")
|
||||||
def hello_world():
|
def hello_world():
|
||||||
msg = Message(
|
send_register_mail('ameye@chiefsoft.com')
|
||||||
'Hello',
|
# msg = Message(
|
||||||
sender ='message@chiefsoft.com',
|
# 'Hello',
|
||||||
recipients = ['ses66181@gmail.com']
|
# sender ='message@chiefsoft.com',
|
||||||
)
|
# recipients = ['ses66181@gmail.com']
|
||||||
msg.body = 'Hello Flask message sent from Flask-Mail'
|
# )
|
||||||
mail.send(msg)
|
# msg.body = 'Hello Flask message sent from Flask-Mail'
|
||||||
|
# mail.send(msg)
|
||||||
|
|
||||||
return jsonify(action_data="sent")
|
return jsonify(action_data="sent")
|
||||||
|
|
||||||
@@ -264,9 +265,15 @@ def send_register_mail(signup_email):
|
|||||||
sender ='message@chiefsoft.com',
|
sender ='message@chiefsoft.com',
|
||||||
recipients = [signup_email,'ameye+merscopy@chiefsoft.com']
|
recipients = [signup_email,'ameye+merscopy@chiefsoft.com']
|
||||||
)
|
)
|
||||||
msg.body = """Hello MERMS message sent for account verification
|
msg.body = """Hello Firstname,
|
||||||
<a href='https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd'>https://works.mermsemr.com/csignup/JWT-djhgdhjgdhdggggd</a>
|
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)
|
mail.send(msg)
|
||||||
|
|
||||||
@app.route("/panel/auth/reset", methods=["POST"])
|
@app.route("/panel/auth/reset", methods=["POST"])
|
||||||
|
|||||||
Reference in New Issue
Block a user