Download the PHP package magexon/turbosmtp-php without Composer
On this page you can find all versions of the php package magexon/turbosmtp-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package turbosmtp-php
turboSMTP-php SDK
The Official turboSMTP PHP SDK - enables .PHP Developers to work with turboSMTP API efficiently.
Table of contents
- Release notes
- Getting Started
- Requirements
- API Key
- Quick start with TurboSMTP Client
- TurboSMTP Client Configuration Initialization
- TurboSMTP Client Initialization
- TurboSMTP Client Hello World Email example
- Usage
- SDK Library Documentation
- Common SDK Use Cases Examples
- Contribute
- Reporting Bugs
- Requesting New Features
- How to Submit an Issue or Feature Request
- Troubleshooting
- About
- Support
- License
Getting Started
Requirements
- PHP 7.4+.
- A turboSMTP account, sign up for free to send up to 6.000 FREE emails per month (No Obligation - No Credit card required).
Installation
Install the SDK via Composer:
API Key
Review. Create your API Key from turboSMTP Dashboard.
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
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.
TurboSMTP Client Initialization
In order to create a TurboSMTPClient simply pass a TurboSMTPClientConfiguration to it´s constructor as:
TurboSMTP Client Hello World Email example
After executing the above code, $result->getMessage() should be OK and $result->getMessageID() should contain a reference number to your sending operation, and you should have an email in the inbox of the to recipient. You can check the status of your email in the UI, or using TurboSMTPClient->getRelays()->queryAsync() method. Alternatively, we can post events to a URL of your choice using our Event Webhooks. This gives you information about the events that occur as turboSMTP processes your email.
Usage
- SDK Library Documentation
- Common SDK Use Cases Examples
Contribute
Thank you for considering contributing to our SDK! We welcome all forms of contributions, including bug reports and feature requests.
Your feedback is invaluable in helping us improve and expand our SDK, please refere to our CONTRIBUTING guide for details.
For any inquiries, you can contact us at the following email address:
Email: sdk@turbo-smtp
Quick links:
- Reporting Bugs
- Requesting New Features
- How to Submit an Issue or Feature Request
Troubleshooting
Please see our troubleshooting guide for common library issues.
About
turboSMTP-php is maintained and funded by Turbo SMTP Company. The names and logos for turboSMTP-php are trademarks of TurboSMTP Company.
Support
If you need help using Turbo SMTP SDK, please check the TurboSMTP Support Help Center.
License
This SDK is licensed under the MIT License - see the LICENSE file for details.