/AWS1/IF_SES=>SETIDENTITYDKIMENABLED()¶
About SetIdentityDkimEnabled¶
Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.
For email addresses (for example, user@example.com), you can only
enable DKIM signing if the corresponding domain (in this case,
example.com) has been set up to use Easy DKIM.
You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn't complete.
You can execute this operation no more than once per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.
Method Signature¶
METHODS /AWS1/IF_SES~SETIDENTITYDKIMENABLED
IMPORTING
!IV_IDENTITY TYPE /AWS1/SESIDENTITY OPTIONAL
!IV_DKIMENABLED TYPE /AWS1/SESENABLED OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sessetiddkimenbdrsp
RAISING
/AWS1/CX_SESCLIENTEXC
/AWS1/CX_SESSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_identity TYPE /AWS1/SESIDENTITY /AWS1/SESIDENTITY¶
The identity for which DKIM signing should be enabled or disabled.
iv_dkimenabled TYPE /AWS1/SESENABLED /AWS1/SESENABLED¶
Sets whether DKIM signing is enabled for an identity. Set to
trueto enable DKIM signing for this identity;falseto disable it.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sessetiddkimenbdrsp /AWS1/CL_SESSETIDDKIMENBDRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->setidentitydkimenabled(
iv_dkimenabled = ABAP_TRUE
iv_identity = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
SetIdentityDkimEnabled¶
The following example configures Amazon SES to Easy DKIM-sign the email sent from an identity:
DATA(lo_result) = lo_client->setidentitydkimenabled(
iv_dkimenabled = ABAP_TRUE
iv_identity = |user@example.com|
).