PHP code example of supersendtx / laravel
1. Go to this page and download the library: Download supersendtx/laravel library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
supersendtx / laravel example snippets
'supersendtx' => [
'transport' => 'supersendtx',
],
Mail::to($user)->send(new WelcomeMail($user));
use SuperSendTX\Laravel\Facades\SuperSendTX;
SuperSendTX::client()->emails->send([
'from' => '[email protected]',
'to' => '[email protected]',
'subject' => 'Hello',
'html' => '<p>It works.</p>',
]);