Mailgun API
Discover more about the Mailgun API connector and how to use it on the Digibee Integration Platform.
Last updated
Was this helpful?
Discover more about the Mailgun API connector and how to use it on the Digibee Integration Platform.
Last updated
Was this helpful?
Mailgun API integrates with , allowing you to send emails with custom recipients, subjects, and content, including attachments. It helps automate notifications, transactional emails, and marketing messages within your pipelines.
Take a look at the configuration parameters for the connector. Parameters supported by are marked with (DB)
.
Account
The account used by the connector. Supported type: Basic.
N/A
Account
Fail On Error
If the option is activated, the pipeline's execution with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the "success"
property.
False
Boolean
Host (DB)
The base URL of the Mailgun API.
N/A
String
Path
N/A
String
Method
The HTTP method used for the request.
N/A
String
Multi Part Data (DB)
Multi Part Data to be sent in the REST call.
N/A
JSON
Connect Timeout (ms)
Maximum time allowed for establishing a connection, in milliseconds.
30000
Integer
Read Timeout (ms)
Maximum time allowed for reading data, in milliseconds.
30000
Integer
Stop on Client Error
When enabled, stops the pipeline execution if a 4xx HTTP error occurs.
False
Boolean
Stop on Server Error
When enabled, stops the pipeline execution if a 5xx HTTP error occurs.
False
Boolean
Override Response Charset
When enabled, replaces the charset returned by the endpoint with the one specified in the Response Charset property. Otherwise, the charset from the Content-Type header is used.
True
Boolean
Response Charset
Defines the charset to be used when Override Response Charset is enabled. Default: UTF-8.
UTF-8
String
Documentation
Section for documenting any necessary information about the connector configuration and business rules.
N/A
String
On the Digibee Integration Platform, you can send emails in two ways:
By passing the full body directly in the connector
You can attach one or more files to your email.
Mailgun tracks every inbound and outbound message event and retains this data for at least three days. You can retrieve a paginated list of these events.
For this example, we filter events of type delivered and opened.
The specific Mailgun endpoint to be accessed. The selected path may determine additional configuration options, such as query parameters. For details on each endpoint, refer to the .
This connector allows you to send emails by specifying message components such as to
, from
, subject
, HTML
, and text parts. If you are using a free plan for testing purposes, you can only send emails to .
By using expressions
Host:
To send an email using expressions, you need to:
Place a connector before the Mailgun API connector.
Host:
Host:
Host: