Two lines of code and you are sending
Official SDKs for the most-used languages and ready-to-use plugins for the most popular CMS platforms. All signed, maintained, ZERO external dependencies.
Official SDKs
Same API in 6 languages, idiomatic syntax.
Composer-installable client. PHP 7.4 → 8.4.
TypeScript-first. ESM + CJS. Node 16+.
Sync + async (httpx) clients. Python 3.8+.
Idiomatic Go. Stdlib only. context-aware.
Zero-dep gem. Ruby 2.7+.
java.net.http based. JDK 11+. Maven.
CMS & E-commerce plugins
Replace your CMS SMTP engine with just a few clicks.
Drop-in wp_mail() replacement. WP 5.0+.
Mail Engine module via OCMOD.
actionMailTransport hook for SwiftMailer + Symfony Mailer.
TransportInterface preference. 2.4.x.
Auto-provision Target SMTP mailbox on client signup.
System plugin replacing default mailer.
PHP example — 4 lines
Same API in all languages.
use Targetsmtp\Client;
$client = new Client(apiKey: 'tm_live_...');
$result = $client->emails->send([
'from' => 'noreply@acme.it',
'to' => 'utente@example.com',
'subject' => 'Benvenuto',
'html' => '<h1>Ciao!</h1>',
]);
// $result['message_id']
Ready to integrate?
Create an account in 30 seconds, generate your API key and start sending.