BambooSes.Message (bamboo_ses v0.4.7)

View Source

Contains functions for composing email

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 endpoint ID 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

Adds tenant name to message struct.

Types

t()

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

Functions

put_configuration_set_name(message, value)

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

Adds configuration set name to message struct

put_content(message, email)

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

Adds content struct to message struct

put_destination(message, to, cc, bcc)

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

put_email_tags(message, tags)

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

Adds email tags to message struct

put_endpoint_id(message, value)

@spec put_endpoint_id(t(), String.t() | nil) :: t()

Adds endpoint ID to message struct.

put_feedback_forwarding_address(message, address)

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

Adds feedback forwarding address to message struct

put_feedback_forwarding_address_arn(message, arn)

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

Adds feedback forwarding address arn to message struct

put_from(message, from)

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

Adds from address to message struct

put_from_arn(message, value)

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

Adds from address ARN to message struct

put_list_management_options(message, contact_list_name, topic_name)

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

Add list management options to message struct

put_reply_to(message, reply_to)

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

Adds reply to address to message struct

put_tenant_name(message, value)

@spec put_tenant_name(t(), String.t() | nil) :: t()

Adds tenant name to message struct.