We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4367b commit 5ef5cffCopy full SHA for 5ef5cff
2 files changed
src/EmailService.Client/HttpEmailSender.cs
@@ -1,7 +1,5 @@
1
using Newtonsoft.Json;
2
-using RTUITLab.EmailService.PublicAPI.Requests;
3
using System;
4
-using System.Collections.Generic;
5
using System.Net.Http;
6
using System.Text;
7
using System.Threading.Tasks;
src/EmailService.Client/SendEmailRequest.cs
@@ -0,0 +1,15 @@
+using System.ComponentModel.DataAnnotations;
+
+namespace RTUITLab.EmailService.Client
+{
+ public class SendEmailRequest
+ {
+ [Required]
8
+ [EmailAddress]
9
+ public string Email { get; set; }
10
11
+ public string Subject { get; set; }
12
13
+ public string Body { get; set; }
14
+ }
15
+}
0 commit comments