Class: Aws::SES::Types::Destination

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

Note:

When making an API call, you may pass Destination data as a hash:

{
  to_addresses: ["Address"],
  cc_addresses: ["Address"],
  bcc_addresses: ["Address"],
}

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

<note markdown=“1”> Amazon SES does not support the SMTPUTF8 extension, as described in [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]. 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].

</note>

[1]: tools.ietf.org/html/rfc6531 [2]: en.wikipedia.org/wiki/Email_address#Local-part [3]: tools.ietf.org/html/rfc3492.html

Instance Attribute Summary collapse

Instance Attribute Details

#bcc_addressesArray<String>

The BCC: field(s) of the message.

Returns:

  • (Array<String>)


1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-ses/types.rb', line 1604

class Destination < Struct.new(
  :to_addresses,
  :cc_addresses,
  :bcc_addresses)
  include Aws::Structure
end

#cc_addressesArray<String>

The CC: field(s) of the message.

Returns:

  • (Array<String>)


1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-ses/types.rb', line 1604

class Destination < Struct.new(
  :to_addresses,
  :cc_addresses,
  :bcc_addresses)
  include Aws::Structure
end

#to_addressesArray<String>

The To: field(s) of the message.

Returns:

  • (Array<String>)


1604
1605
1606
1607
1608
1609
# File 'lib/aws-sdk-ses/types.rb', line 1604

class Destination < Struct.new(
  :to_addresses,
  :cc_addresses,
  :bcc_addresses)
  include Aws::Structure
end