I've been trying to pass image as variable into the email with no luck. Texts work fine based on the provided documentation below but I need to get images into the email too.
`use AcyMailing\Helpers\MailerHelper;
$mailer = new MailerHelper();
$mailer->report = true; // set it to true or false if you want Acy to display a confirmation message or not (message successfully sent to...)
$mailer->trackEmail = true; // set it to true or false if you want Acy to track the message or not (it will be inserted in the statistics table)
$mailer->autoAddUser = false; // set it to true if you want Acy to automatically create the user if it does not exist in AcyMailing
$mailer->addParam('var1', 'Value of the variable 1'); // Acy will automatically replace the tag {var1} by the value specified in the second parameter... you can use this function several times to replace tags in your email
$mailer->sendOne(67, 'user@example.com'); // The first parameter is the ID of the email you want to send`
How is this meant to be done correctly?