![]() |
![]()
| ![]() |
![]()
NAMEPaws::PinpointEmail::SendEmail - Arguments for method SendEmail on Paws::PinpointEmail DESCRIPTIONThis class represents the parameters used for calling the method SendEmail on the Amazon Pinpoint Email Service service. Use the attributes of this class as arguments to method SendEmail. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendEmail. SYNOPSISmy $email = Paws->service('PinpointEmail'); my $SendEmailResponse = $email->SendEmail( Content => { Raw => { Data => 'BlobRawMessageData', }, # OPTIONAL Simple => { Body => { Html => { Data => 'MyMessageData', Charset => 'MyCharset', # OPTIONAL }, # OPTIONAL Text => { Data => 'MyMessageData', Charset => 'MyCharset', # OPTIONAL }, # OPTIONAL }, Subject => { Data => 'MyMessageData', Charset => 'MyCharset', # OPTIONAL }, # OPTIONAL }, # OPTIONAL Template => { TemplateArn => 'MyTemplateArn', # OPTIONAL TemplateData => 'MyTemplateData', # max: 262144; OPTIONAL }, # OPTIONAL }, Destination => { BccAddresses => [ 'MyEmailAddress', ... ], # OPTIONAL CcAddresses => [ 'MyEmailAddress', ... ], # OPTIONAL ToAddresses => [ 'MyEmailAddress', ... ], # OPTIONAL }, ConfigurationSetName => 'MyConfigurationSetName', # OPTIONAL EmailTags => [ { Name => 'MyMessageTagName', Value => 'MyMessageTagValue', }, ... ], # OPTIONAL FeedbackForwardingEmailAddress => 'MyEmailAddress', # OPTIONAL FromEmailAddress => 'MyEmailAddress', # OPTIONAL ReplyToAddresses => [ 'MyEmailAddress', ... ], # OPTIONAL ); # Results: my $MessageId = $SendEmailResponse->MessageId; # Returns a L<Paws::PinpointEmail::SendEmailResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/email/SendEmail> ATTRIBUTESConfigurationSetName => StrThe name of the configuration set that you want to use when sending the email. REQUIRED Content => Paws::PinpointEmail::EmailContentAn object that contains the body of the message. You can send either a Simple message or a Raw message. REQUIRED Destination => Paws::PinpointEmail::DestinationAn object that contains the recipients of the email message. EmailTags => ArrayRef[Paws::PinpointEmail::MessageTag]A list of tags, in the form of name/value pairs, to apply to an email that you send using the "SendEmail" operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events. FeedbackForwardingEmailAddress => StrThe address that Amazon Pinpoint should send bounce and complaint notifications to. FromEmailAddress => StrThe email address that you want to use as the "From" address for the email. The address that you specify has to be verified. ReplyToAddresses => ArrayRef[Str|Undef]The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply. SEE ALSOThis class forms part of Paws, documenting arguments for method SendEmail in Paws::PinpointEmail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|