Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailing
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
lifo
Nicolas Ollinger
mailing
Commits
f6af0012
Commit
f6af0012
authored
Jun 07, 2020
by
Nicolas Ollinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compatibilité 7 bits améliorée
parent
fe285619
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mailing.py
mailing.py
+1
-1
No files found.
mailing.py
View file @
f6af0012
...
@@ -33,7 +33,7 @@ if 'bcc' not in conf['mail']:
...
@@ -33,7 +33,7 @@ if 'bcc' not in conf['mail']:
conf
[
'mail'
][
'bcc'
]
=
'false'
conf
[
'mail'
][
'bcc'
]
=
'false'
def
envoie
(
serveur
,
port
,
login
,
mdp
,
sujet
,
corps
,
emet
,
dest
,
dobcc
,
file_path
,
filename
):
def
envoie
(
serveur
,
port
,
login
,
mdp
,
sujet
,
corps
,
emet
,
dest
,
dobcc
,
file_path
,
filename
):
msg
=
EmailMessage
(
EmailPolicy
(
utf8
=
False
))
msg
=
EmailMessage
(
EmailPolicy
(
utf8
=
False
,
cte_type
=
'7bit'
))
msg
[
'Subject'
]
=
sujet
msg
[
'Subject'
]
=
sujet
msg
[
'From'
]
=
emet
msg
[
'From'
]
=
emet
msg
[
'To'
]
=
dest
msg
[
'To'
]
=
dest
...
...
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