SESV2 / Client / send_custom_verification_email

send_custom_verification_email#

SESV2.Client.send_custom_verification_email(**kwargs)#

Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.

To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see Using custom verification email templates in the Amazon SES Developer Guide .

You can execute this operation no more than once per second.

See also: AWS API Documentation

Request Syntax

response = client.send_custom_verification_email(
    EmailAddress='string',
    TemplateName='string',
    ConfigurationSetName='string'
)
Parameters:
  • EmailAddress (string) –

    [REQUIRED]

    The email address to verify.

  • TemplateName (string) –

    [REQUIRED]

    The name of the custom verification email template to use when sending the verification email.

  • ConfigurationSetName (string) – Name of a configuration set to use when sending the verification email.

Return type:

dict

Returns:

Response Syntax

{
    'MessageId': 'string'
}

Response Structure

  • (dict) –

    The following element is returned by the service.

    • MessageId (string) –

      The unique message identifier returned from the SendCustomVerificationEmail operation.

Exceptions

  • SESV2.Client.exceptions.TooManyRequestsException

  • SESV2.Client.exceptions.LimitExceededException

  • SESV2.Client.exceptions.MessageRejected

  • SESV2.Client.exceptions.SendingPausedException

  • SESV2.Client.exceptions.MailFromDomainNotVerifiedException

  • SESV2.Client.exceptions.NotFoundException

  • SESV2.Client.exceptions.BadRequestException