PHP code example of thereddot / swiftmailer-image-embed
1. Go to this page and download the library: Download thereddot/swiftmailer-image-embed 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/ */
thereddot / swiftmailer-image-embed example snippets
use Hexanet\Swiftmailer\ImageEmbedPlugin;
$mailer = new Swift_Mailer($yourTransport);
$mailer->registerPlugin(new ImageEmbedPlugin());