MCPcopy Create free account
hub / github.com/aptabase/aptabase / NewRequest

Method NewRequest

src/Features/Notification/SESEmailClient.cs:38–61  ·  view source on GitHub ↗
(string to, string subject, string body)

Source from the content-addressed store, hash-verified

36 }
37
38 private static SendEmailRequest NewRequest(string to, string subject, string body)
39 {
40 return new SendEmailRequest
41 {
42 Source = "Aptabase <goenning@aptabase.com>",
43 Destination = new Destination
44 {
45 ToAddresses =
46 new List<string> { to }
47 },
48 Message = new Message
49 {
50 Subject = new Content(subject),
51 Body = new Body
52 {
53 Html = new Content
54 {
55 Charset = "UTF-8",
56 Data = body
57 },
58 }
59 },
60 };
61 }
62}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected