Conditions | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | package ses |
||
17 | func (svc *SES) xSendEmail(ctx context.Context, subject, htmlBody, textBody, from string, to ...string) error { |
||
18 | _, err := svc.SendEmail(ctx, SendEmailRequest{ |
||
19 | Destination: Destination{ |
||
20 | ToAddresses: to, |
||
21 | }, |
||
22 | Source: from, |
||
23 | Subject: subject, |
||
24 | HTMLBody: htmlBody, |
||
25 | TextBody: textBody, |
||
26 | }) |
||
27 | return err |
||
28 | } |
||
29 |