Skip to content

Commit

Permalink
fix: minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Derich committed May 19, 2023
1 parent 91ee6fd commit fbfc60b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions examples/send_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ func sendEmailExample() {

// Send
params := &resend.SendEmailRequest{
To: []string{"carlosderich@gmail.com", "derich@thinkdataworks.com"},
From: "[email protected]",
To: []string{"to@example.com", "to2@example.com"},
From: "[email protected]",
Text: "hello world",
Subject: "Hello from Golang",
Cc: []string{"d.erich@hotmail.com"},
Bcc: []string{"d.erich@hotmail.com"},
ReplyTo: "carlosderich@gmail.com",
Cc: []string{"cc@example.com"},
Bcc: []string{"ccc@example.com"},
ReplyTo: "to@example.com",
}

sent, err := client.Emails.Send(params)
Expand Down
4 changes: 2 additions & 2 deletions examples/with_attachments.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func sendWithAttachments() {
}

params := &resend.SendEmailRequest{
To: []string{"carlosderich@gmail.com", "derich@thinkdataworks.com"},
From: "[email protected]",
To: []string{"hello@example.com", "to@example.com"},
From: "[email protected]",
Text: "take a look at the file I just sent you",
Subject: "Email with attachment",
Attachments: []resend.Attachment{*pdfAttachment},
Expand Down

0 comments on commit fbfc60b

Please sign in to comment.