forked from forgejo/forgejo
Add mail notify for creating issue
This commit is contained in:
parent
bc5316b82e
commit
c1a3d4fefb
5 changed files with 49 additions and 5 deletions
|
@ -33,7 +33,7 @@ func (m Message) Content() string {
|
|||
}
|
||||
|
||||
// create mail content
|
||||
content := "From: " + m.User + "<" + m.From +
|
||||
content := "From: " + m.From + "<" + m.User +
|
||||
">\r\nSubject: " + m.Subject + "\r\nContent-Type: " + contentType + "\r\n\r\n" + m.Body
|
||||
return content
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue