Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-089
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Deshini Perera
2022-089
Commits
074dd62e
Commit
074dd62e
authored
Oct 08, 2022
by
Deshini Perera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
109ff120
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Send_Email.py
Send_Email.py
+13
-0
No files found.
Send_Email.py
0 → 100644
View file @
074dd62e
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment