View Source BambooSes.Message (bamboo_ses v0.4.5)

Contains functions for composing email

Link to this section Summary

Functions

Adds configuration set name to message struct

Adds content struct to message struct

Adds to, cc, bcc fields to message's destination struct and updates message

Adds email tags to message struct

Adds feedback forwarding address to message struct

Adds feedback forwarding address arn to message struct

Adds from address to message struct

Adds from address ARN to message struct

Add list management options to message struct

Adds reply to address to message struct

Link to this section Types

@type t() :: %BambooSes.Message{
  ConfigurationSetName: String.t() | nil,
  Content: BambooSes.Message.Content.t(),
  Destination: BambooSes.Message.Destination.t(),
  EmailTags: [map(), ...] | nil,
  FeedbackForwardingEmailAddress: String.t() | nil,
  FeedbackForwardingEmailAddressIdentityArn: String.t() | nil,
  FromEmailAddress: String.t() | nil,
  FromEmailAddressIdentityArn: String.t() | nil,
  ListManagementOptions: map() | nil,
  ReplyToAddresses: [Bamboo.Email.address()]
}

Link to this section Functions

Link to this function

put_configuration_set_name(message, value)

View Source
@spec put_configuration_set_name(t(), String.t() | nil) :: t()

Adds configuration set name to message struct

Link to this function

put_content(message, email)

View Source
@spec put_content(t(), Bamboo.Email.t()) :: t()

Adds content struct to message struct

Link to this function

put_destination(message, to, cc, bcc)

View Source

Adds to, cc, bcc fields to message's destination struct and updates message

Link to this function

put_email_tags(message, tags)

View Source
@spec put_email_tags(t(), [map(), ...] | nil) :: t()

Adds email tags to message struct

Link to this function

put_feedback_forwarding_address(message, address)

View Source
@spec put_feedback_forwarding_address(t(), String.t() | nil) :: t()

Adds feedback forwarding address to message struct

Link to this function

put_feedback_forwarding_address_arn(message, arn)

View Source
@spec put_feedback_forwarding_address_arn(t(), String.t() | nil) :: t()

Adds feedback forwarding address arn to message struct

@spec put_from(t(), Bamboo.Email.address() | nil) :: t()

Adds from address to message struct

Link to this function

put_from_arn(message, value)

View Source
@spec put_from_arn(t(), String.t() | nil) :: t()

Adds from address ARN to message struct

Link to this function

put_list_management_options(message, contact_list_name, topic_name)

View Source
@spec put_list_management_options(t(), String.t() | nil, String.t() | nil) :: t()

Add list management options to message struct

Link to this function

put_reply_to(message, reply_to)

View Source
@spec put_reply_to(t(), Bamboo.Email.address()) :: t()

Adds reply to address to message struct