This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix malformed address
for-closed-social
Michel Roux
10 years ago
parent
fc18741cc7
commit
6705559ce0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/mailer/mailer.go
+ 1
- 1
modules/mailer/mailer.go
View File
@ -33,7 +33,7 @@ func (m Message) Content() string {
}
// create mail content
content
:=
"From: "
+
m
.
From
+
"<"
+
m
.
User
+
content
:=
"From:
\"
"
+
m
.
From
+
"
\"
<"
+
m
.
User
+
">\r\nSubject: "
+
m
.
Subject
+
"\r\nContent-Type: "
+
contentType
+
"\r\n\r\n"
+
m
.
Body
return
content
}
Write
Preview
Loading…
Cancel
Save