Send personal or bulk emails to your clients. Schedule them, plan to send by client time zone, and have different languages over each message you deliver.
Transactional Emails
Using SDK
var projectId = Guid.Parse("{YOUR_PROJECT_ID}");
var apiKey = "{YOUR_SECRET_KEY}";
var client = new CodeMashClient(apiKey, projectId);
var emailService = new CodeMashEmailService(client);use Codemash\CodemashClient;
use Codemash\CodemashEmail;
class CodemashService
{
protected CodemashEmail $codemashEmail;
public function __construct()
{
$secretKey = '{YOUR_SECRET_KEY}';
$projectId = '{YOUR_PROJECT_ID}';
$client = new CodemashClient($secretKey, $projectId);
$this->codemashEmail = new CodemashEmail($client);
}
}Example
Working with Email Service
EmailsLast updated