PHP code example of libresign / mailpit-client
1. Go to this page and download the library: Download libresign/mailpit-client 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/ */
libresign / mailpit-client example snippets
use LibreSign\Mailpit\MailpitClient;
$client = new MailpitClient(new SomeHttpClient(), new SomeRequestFactory(), 'http://my.mailpit.host:port/');