AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Destination

import "github.com/aws/aws-sdk-go/service/ses"

type Destination struct { BccAddresses []*string `type:"list"` CcAddresses []*string `type:"list"` ToAddresses []*string `type:"list"` }

Represents the destination of the message, consisting of To:, CC:, and BCC: fields.

Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531 (https://tools.ietf.org/html/rfc6531). For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters (https://en.wikipedia.org/wiki/Email_address#Local-part). If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492 (https://tools.ietf.org/html/rfc3492.html).

BccAddresses

Type: []*string

The BCC: field(s) of the message.

CcAddresses

Type: []*string

The CC: field(s) of the message.

ToAddresses

Type: []*string

The To: field(s) of the message.

Method

GoString

func (s Destination) GoString() string

GoString returns the string representation

SetBccAddresses

func (s *Destination) SetBccAddresses(v []*string) *Destination

SetBccAddresses sets the BccAddresses field's value.

SetCcAddresses

func (s *Destination) SetCcAddresses(v []*string) *Destination

SetCcAddresses sets the CcAddresses field's value.

SetToAddresses

func (s *Destination) SetToAddresses(v []*string) *Destination

SetToAddresses sets the ToAddresses field's value.

String

func (s Destination) String() string

String returns the string representation

On this page: