reloop/reloop-email

Reloop PHP SDK

Maintainers

Package info

github.com/reloop-labs/reloop-php

pkg:composer/reloop/reloop-email

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.8.0 2026-06-14 05:51 UTC

This package is auto-updated.

Last update: 2026-06-26 18:32:17 UTC


README

Before you send

You need two things:

  1. API key — create one in your Reloop account
  2. Verified domain — add and verify a sending domain; use it in the from address

For setup details and the full API reference, see reloop.sh/docs.

Send email

composer require reloop/reloop-email
<?php

use Reloop\Reloop;

$reloop = Reloop::client('rl_your_api_key_here');

$result = $reloop->mail->send([
    'from' => 'Reloop <hello@your-verified-domain.com>',
    'to' => 'user@example.com',
    'subject' => 'Welcome to Reloop',
    'html' => '<p>Thanks for signing up.</p>',
    'text' => 'Thanks for signing up.',
]);

echo $result->message_id, ' ', $result->id;

More examples and optional fields: reloop.sh/docs

License

Licensed under the Apache License 2.0 with additional use restrictions from Reloop Labs (same as the Reloop project).