Sender

class oci.email_data_plane.models.Sender(**kwargs)

Bases: object

The envelope and the header from email address details, that is sending the email. Email address must be an approved sender.

Methods

__init__(**kwargs) Initializes a new Sender object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this Sender.
sender_address [Required] Gets the sender_address of this Sender.
__init__(**kwargs)

Initializes a new Sender object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sender_address (oci.email_data_plane.models.EmailAddress) – The value to assign to the sender_address property of this Sender.
  • compartment_id (str) – The value to assign to the compartment_id property of this Sender.
compartment_id

[Required] Gets the compartment_id of this Sender. The OCID of the compartment that contains the approved sender resource.

Returns:The compartment_id of this Sender.
Return type:str
sender_address

[Required] Gets the sender_address of this Sender.

Returns:The sender_address of this Sender.
Return type:oci.email_data_plane.models.EmailAddress