Verify email

This commit is contained in:
CHIEFSOFT\ameye
2024-12-26 11:59:01 -05:00
parent 1c1d05215f
commit e06a7ee718
2 changed files with 18 additions and 9 deletions
+2
View File
@@ -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>
+16 -9
View File
@@ -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"])