You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/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.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#bcc_addressesArray<String>

The BCC: field(s) of the message.

Returns:

  • (Array<String>)


1607
1608
1609
1610
1611
1612
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1607

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>)


1607
1608
1609
1610
1611
1612
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1607

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>)


1607
1608
1609
1610
1611
1612
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1607

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