Commit 074dd62e authored by Deshini Perera's avatar Deshini Perera

Add new file

parent 109ff120
import smtplib, ssl
def Send_email(PO_No):
port =465
context =ssl.create_default_context()
with smtplib.SMTP_SSL("smtp.gmail.com", port, context=context) as server:
server.login("deshiniperera8@gmail.com", "Rio@2018")
senderemail = "deshiniperera8@gmail.com"
Reciveremail = "yapa.bhanuka@gmail.com"
Message = """\Subject : Items related to PO no '"""
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment