mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 19:06:18 +01:00 
			
		
		
		
	| @@ -23,7 +23,7 @@ type Email struct { | ||||
| func SendEmail(ctx context.Context, subject, message string, to []string) (*ResponseText, ResponseExtra) { | ||||
| 	reqURL := setting.LocalURL + "api/internal/mail/send" | ||||
|  | ||||
| 	req := newInternalRequest(ctx, reqURL, "POST", Email{ | ||||
| 	req := newInternalRequestAPI(ctx, reqURL, "POST", Email{ | ||||
| 		Subject: subject, | ||||
| 		Message: message, | ||||
| 		To:      to, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user