Skip to main content

Prerequisites

To get the most out of this guide, you’ll need to:
You can find your API keys in your SendPost Dashboard. Make sure to use your Sub-Account API Key for sending emails.

1. Install

Composer

To install the bindings via Composer, use the following command on the command line:
shell
Or, add the following to composer.json:
composer.json
Then run composer install

Manual Installation

Download the files and include autoload.php:

2. Getting Started

PHP
Make sure your sender email domain is verified in your SendPost account before sending emails.

3. Next Steps

Explore more examples and use cases:

PHP SDK

View the official SDK package on Packagist

SDK Examples

Comprehensive email sending examples

ESP Workflow Example

Full-featured example app with comprehensive ESP workflow