OptionalrequestOptions: Provider.RequestOptionsRequest-specific configuration.
Create an email provider. The credentials object
requires different properties depending on the email provider (which is specified using the name property):
mandrill requires api_keysendgrid requires api_keysparkpost requires api_key. Optionally, set region to eu to use
the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
North America. eu or null are the only valid values for region.
mailgun requires api_key and domain. Optionally, set region to
eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
null are the only valid values for region.
ses requires accessKeyId, secretAccessKey, and regionsmtp requires smtp_host, smtp_port, smtp_user, and
smtp_pass
settings object with different configuration
options, which will be used when sending an email:
smtp provider, settings may contain headers object.
X-SES-Configuration-Set header. Value must be a string.
X-MSYS_API header. Value must be an object.
ses provider, settings may contain message object, where you can provide
a name of configuration set in configuration_set_name property. Value must be a string.
OptionalrequestOptions: Provider.RequestOptionsRequest-specific configuration.
Delete the email provider.
OptionalrequestOptions: Provider.RequestOptionsRequest-specific configuration.
Update an email provider. The credentials object
requires different properties depending on the email provider (which is specified using the name property):
mandrill requires api_keysendgrid requires api_keysparkpost requires api_key. Optionally, set region to eu to use
the SparkPost service hosted in Western Europe; set to null to use the SparkPost service hosted in
North America. eu or null are the only valid values for region.
mailgun requires api_key and domain. Optionally, set region to
eu to use the Mailgun service hosted in Europe; set to null otherwise. eu or
null are the only valid values for region.
ses requires accessKeyId, secretAccessKey, and regionsmtp requires smtp_host, smtp_port, smtp_user, and
smtp_pass
settings object with different configuration
options, which will be used when sending an email:
smtp provider, settings may contain headers object.
X-SES-Configuration-Set header. Value must be a string.
X-MSYS_API header. Value must be an object.
ses provider, settings may contain message object, where you can provide
a name of configuration set in configuration_set_name property. Value must be a string.
OptionalrequestOptions: Provider.RequestOptionsRequest-specific configuration.
Protected_
Retrieve details of the email provider configuration in your tenant. A list of fields to include or exclude may also be specified.