Email API & Integration

Created by developers for developers

Reliable And Easy-To-Use Email API

 

Integrate mobile and email messaging into your existing platform and scale your business. Communicate directly and cost-effectively with customers around the world. Add SMS and Email messaging in your software with the programming language you already use. Get started with our comprehensive documentation or contact our developers if you get stuck.

Documentation Get free API key
 
 
 
require 'vendor/autoload.php';

use MessageX\Service\Email\ValueObject\Email;
use MessageX\Service\Email\ValueObject\Body;
use MessageX\Service\Email\EmailClient;

$emailClient = new EmailClient([
        'credentials' => ['key' => 'XXXXX', 'secret' => 'XXXXX']
    ]);

$emailClient->sendEmail(
    (new Email(
        'John Doe <johndoe@example.com>', 
        ['Jane Doe <janedoe@example.com>']
    ))
    ->setSubject('Greetings')
    ->addBody(new Body('text/plain', 'Hi Jane'))
);