Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proto3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
protokollsystem
proto3
Commits
4c18fe3a
Commit
4c18fe3a
authored
8 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
Set Message-ID according to RFC2822 See merge request
!2
parents
08c93906
58e86fc5
Branches
Branches containing commit
No related tags found
1 merge request
!2
Set Message-ID according to RFC2822
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils.py
+1
-1
1 addition, 1 deletion
utils.py
with
1 addition
and
1 deletion
utils.py
+
1
−
1
View file @
4c18fe3a
...
...
@@ -83,7 +83,7 @@ class MailManager:
msg
[
"
From
"
]
=
self
.
from_addr
msg
[
"
To
"
]
=
to_addr
msg
[
"
Subject
"
]
=
subject
msg
[
"
Message-ID
"
]
=
"
{}@{}
"
.
format
(
uuid4
(),
getfqdn
())
msg
[
"
Message-ID
"
]
=
"
<
{}@{}
>
"
.
format
(
uuid4
(),
getfqdn
())
msg
.
attach
(
MIMEText
(
content
,
_charset
=
"
utf-8
"
))
if
appendix
is
not
None
:
for
name
,
file_like
in
appendix
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment