Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @app.route('/visitorNotification/')
- def visitorEmail():
- msg = Message(
- 'Atmiya: We have recieved your details!',
- sender='teamRocket299@gmail.com',
- recipients=
- ['oj2008@live.com.au'])
- msg.body = "Thank you for submitting a vistor form. We will be contacting you soon."
- mail.send(msg)
- return jsonify(status="TRUE")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement