PHPackages                             magexon/turbosmtp-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. magexon/turbosmtp-php

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

magexon/turbosmtp-php
=====================

TurboSMTP PHP SDK for sending emails, managing relays, suppressions, and email validation

1.0.0(1mo ago)09↓100%MITPHPPHP ^7.4 || ^8.0

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/magexon/turbosmtp-php)[ Packagist](https://packagist.org/packages/magexon/turbosmtp-php)[ Docs](https://turbosmtp.com)[ RSS](/packages/magexon-turbosmtp-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![smtp mail server – professional SMTP service provider](https://camo.githubusercontent.com/ec3a257d2d3d14379a54c6a37a0cb9e4123777bad5aa84aa200358246c52be32/68747470733a2f2f736572766572736d74702e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30322f6c6f676f5f323032312d322e737667)](https://camo.githubusercontent.com/ec3a257d2d3d14379a54c6a37a0cb9e4123777bad5aa84aa200358246c52be32/68747470733a2f2f736572766572736d74702e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30322f6c6f676f5f323032312d322e737667)

turboSMTP-php SDK
=================

[](#turbosmtp-php-sdk)

The **Official turboSMTP PHP** SDK - enables .PHP Developers to work with [turboSMTP API](https://serversmtp.com/turbo-api/) efficiently.

- [turboSMTP Home](https://serversmtp.com/)
- [turboSMTP API documentation](https://serversmtp.com/turbo-api/)

Table of contents
-----------------

[](#table-of-contents)

- [Release notes](#release-notes)
- [Getting Started](#getting-started)
    - [Requirements](#requirements)
    - [API Key](#api-key)
- [Quick start with TurboSMTP Client](#quick-start-with-turbosmtp-client)
    - [TurboSMTP Client Configuration Initialization](#turbosmtp-client-configuration-initialization)
    - [TurboSMTP Client Initialization](#turbosmtp-client-initialization)
    - [TurboSMTP Client Hello World Email example](#turbosmtp-client-hello-world-email-example)
- [Usage](#usage)
    - [SDK Library Documentation](USAGE.md)
    - [Common SDK Use Cases Examples](USE_CASES.md)
- [Contribute](#contribute)
    - [Reporting Bugs](CONTRIBUTING.md#reporting-bugs)
    - [Requesting New Features](CONTRIBUTING.md#requesting-new-features)
    - [How to Submit an Issue or Feature Request](CONTRIBUTING.md#how-to-submit-an-issue-or-feature-request)
- [Troubleshooting](#troubleshooting)
- [About](#about)
- [Support](#support)
- [License](#license)

Getting Started
---------------

[](#getting-started)

### Requirements

[](#requirements)

- **PHP 7.4+**.
- **A turboSMTP account**, [sign up for free](https://serversmtp.com/en/tsmtpregistration1.php) to send up to 6.000 FREE emails per month (No Obligation - No Credit card required).

### Installation

[](#installation)

Install the SDK via [Composer](https://getcomposer.org/):

```
composer require magexon/turbosmtp-php
```

### API Key

[](#api-key)

**Review**. Create your API Key from [turboSMTP Dashboard](https://serversmtp.com/understanding-and-creating-api-keys-with-turbosmtp-a-comprehensive-guide/).

Quick start with TurboSMTP Client
---------------------------------

[](#quick-start-with-turbosmtp-client)

In order to facilitate construction and usage of **TurboSMTPClientConfiguration**, a **TurboSMTPClientConfigurationBuilder** has been facilitated implementing a *Builder* design pattern:

### TurboSMTP Client Configuration Initialization

[](#turbosmtp-client-configuration-initialization)

As stated above, **TurboSMTPClientConfiguration** uses a builder design pattern (**TurboSMTPClientConfigurationBuilder**) that allows to setup your `ConsumerKey` and `Secret`, option for `EuropeanUser` and your `Timezone` that will be used to consume time sensitive data, like when filtering data by dates.

```
