:doc:`SESV2 <../../sesv2>` / Client / send_custom_verification_email

******************************
send_custom_verification_email
******************************



.. py:method:: 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 <https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html#send-email-verify-address-custom>`__ in the *Amazon SES Developer Guide*.

   

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmail>`_  


  **Request Syntax**
  ::

    response = client.send_custom_verification_email(
        EmailAddress='string',
        TemplateName='string',
        ConfigurationSetName='string'
    )
    
  :type EmailAddress: string
  :param EmailAddress: **[REQUIRED]** 

    The email address to verify.

    

  
  :type TemplateName: string
  :param TemplateName: **[REQUIRED]** 

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

    

  
  :type ConfigurationSetName: string
  :param ConfigurationSetName: 

    Name of a configuration set to use when sending the verification email.

    

  
  
  :rtype: 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**
  
  *   :py:class:`SESV2.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`SESV2.Client.exceptions.LimitExceededException`

  
  *   :py:class:`SESV2.Client.exceptions.MessageRejected`

  
  *   :py:class:`SESV2.Client.exceptions.SendingPausedException`

  
  *   :py:class:`SESV2.Client.exceptions.MailFromDomainNotVerifiedException`

  
  *   :py:class:`SESV2.Client.exceptions.NotFoundException`

  
  *   :py:class:`SESV2.Client.exceptions.BadRequestException`

  