// Enables or disables the custom MAIL FROM domain setup for a verified identity
// (an email address or a domain). To send emails using the specified MAIL FROM
// domain, you must add an MX record to your MAIL FROM domain's DNS settings. If
// you want your emails to pass Sender Policy Framework (SPF) checks, you must also
// add or update an SPF record. For more information, see the Amazon SES Developer
// Guide
// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html). You
// can execute this operation no more than once per second.
Enables or disables the custom MAIL FROM domain setup for a verified identity
(an email address or a domain). To send emails using the specified MAIL FROM
domain, you must add an MX record to your MAIL FROM domain's DNS settings. If
you want your emails to pass Sender Policy Framework (SPF) checks, you must also
add or update an SPF record. For more information, see the Amazon SES Developer
Guide
. You
can execute this operation no more than once per second.
// Enables or disables the custom MAIL FROM domain setup for a verified identity // ( an email address or a domain ) . To send emails using the specified MAIL FROM // domain you must add an MX record to your MAIL FROM domain ' s DNS settings . If // you want your emails to pass Sender Policy Framework ( SPF ) checks you must also // add or update an SPF record . For more information see the Amazon SES Developer // Guide // ( https : // docs . aws . amazon . com / ses / latest / DeveloperGuide / mail - from - set . html ) . You // can execute this operation no more than once per second .
func (c *Client) SetIdentityMailFromDomain(ctx context.Context, params *SetIdentityMailFromDomainInput, optFns ...func(*Options)) (*SetIdentityMailFromDomainOutput, error) {
	if params == nil {
		params = &SetIdentityMailFromDomainInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "SetIdentityMailFromDomain", params, optFns, addOperationSetIdentityMailFromDomainMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*SetIdentityMailFromDomainOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) SetIdentityMailFromDomain ( ctx context . Context , params * SetIdentityMailFromDomainInput , optFns ... func ( * Options ) ) ( * SetIdentityMailFromDomainOutput , error ) { if params == nil { params = & SetIdentityMailFromDomainInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationSetIdentityMailFromDomainMiddlewares ) if err != nil { return nil , err } out := result . ( * SetIdentityMailFromDomainOutput ) out . ResultMetadata = metadata return out , nil }
Enables or disables the custom MAIL FROM domain setup for a verified identity
(an email address or a domain).
Enables or disables the custom MAIL FROM domain setup for a verified identity ( an email address or a domain ) .