MCPcopy Create free account
hub / github.com/gogs/gogs / SendIssueCommentMail

Function SendIssueCommentMail

internal/email/email.go:211–217  ·  view source on GitHub ↗

SendIssueCommentMail composes and sends issue comment emails to target receivers.

(issue Issue, repo Repository, doer User, tos []string)

Source from the content-addressed store, hash-verified

209
210// SendIssueCommentMail composes and sends issue comment emails to target receivers.
211func SendIssueCommentMail(issue Issue, repo Repository, doer User, tos []string) {
212 if len(tos) == 0 {
213 return
214 }
215
216 Send(composeIssueMessage(issue, repo, doer, tmplIssueComment, tos, "issue comment"))
217}
218
219// SendIssueMentionMail composes and sends issue mention emails to target receivers.
220func SendIssueMentionMail(issue Issue, repo Repository, doer User, tos []string) {

Callers 1

Calls 2

SendFunction · 0.85
composeIssueMessageFunction · 0.85

Tested by

no test coverage detected