Skip to main content
1

Install the SDK

Install from the GitHub source using cpanminus:
The CPAN release (1.2, from 2019) predates most of this API and requires an apiUsername, so install from source.
2

Set your credentials

Create a config.cfg file in your project directory:
The SDK reads this file from the current working directory when you call new(). The key name is case-sensitive. To obtain credentials, see Authentication.
3

Send your first email

Create a file send.pl:
Run it:
The response is a JSON string containing sourceTrackingId:
4

Check delivery status

Pass the tracking ID to getEmailDisposition:
The response JSON includes message_deliveries with per-recipient status.

Next steps

  • Email client: add HTML, attachments, CC/BCC, and handle errors
  • Forms client: retrieve form schemas and submit responses