feat: add CC and BCC inputs if --cc or --bcc is specified. (#65)

This commit adds CC + BCC hidden inputs and are shown if the user passes
in some value to the `-cc` or `--bcc` flags.
This commit is contained in:
Maas Lalani
2024-04-25 11:18:45 -04:00
committed by GitHub
parent ef84570048
commit 7f2ec5e5df
3 changed files with 79 additions and 3 deletions

View File

@@ -156,6 +156,8 @@ func sendResendEmail(to, _, _ []string, from, subject, body string, attachments
From: from,
To: to,
Subject: subject,
Cc: cc,
Bcc: bcc,
Html: html.String(),
Text: body,
Attachments: makeAttachments(attachments),