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.

By default, the string must be 7-bit ASCII. If the text must contain any other characters, then you must use MIME encoded-word syntax (RFC 2047) instead of a literal string. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=. For more information, see RFC 2047.

Instance Attribute Summary collapse

Instance Attribute Details

#bcc_addressesArray<String>

The BCC: field(s) of the message.

Returns:

  • (Array<String>)


1466
1467
1468
1469
1470
1471
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1466

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


1466
1467
1468
1469
1470
1471
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1466

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


1466
1467
1468
1469
1470
1471
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 1466

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