1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 08:48:37 +00:00
yp05327
2024-01-15 16:43:53 +09:00
committed by GitHub
parent 5d3fdd1212
commit c7e4629c02
3 changed files with 9 additions and 0 deletions

View File

@@ -30,5 +30,8 @@ func SendEmail(ctx context.Context, subject, message string, to []string) (strin
})
resp, extra := requestJSONResp(req, &responseText{})
if resp == nil {
return "", extra
}
return resp.Text, extra
}