Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
b247f412
Commit
b247f412
authored
Nov 20, 2023
by
Yvon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deploiement : allow sending email
parent
847f28a9
Pipeline
#3141
failed with stage
in 1 minute 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
send_mail.py
scripts/src/send_mail.py
+0
-4
No files found.
scripts/src/send_mail.py
View file @
b247f412
...
@@ -33,10 +33,6 @@ def run(tp_file,od_file,coop):
...
@@ -33,10 +33,6 @@ def run(tp_file,od_file,coop):
tp_f
.
close
()
tp_f
.
close
()
body
=
"
\n\n
Cordialement.
\n\n
(Ceci est un mail automatique.)"
body
=
"
\n\n
Cordialement.
\n\n
(Ceci est un mail automatique.)"
msg
.
set_content
(
body
)
msg
.
set_content
(
body
)
print
(
"don't send !!"
)
return
s
=
smtplib
.
SMTP
(
'smtp-relay.sendinblue.com'
,
port
=
587
)
s
=
smtplib
.
SMTP
(
'smtp-relay.sendinblue.com'
,
port
=
587
)
s
.
login
(
"brevo@ksuite-coopdev.fr"
,
ci_secrets
.
mail_server_password
)
s
.
login
(
"brevo@ksuite-coopdev.fr"
,
ci_secrets
.
mail_server_password
)
s
.
send_message
(
msg
)
s
.
send_message
(
msg
)
...
...
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