Mail: Embedded images
by romeo.sulzer on 20 Jan 2020 12:46 | 881 Hits | 0 comment(s)
Most e-mail clients block external images by default. It would be great to have the possibility to add embedded images from the Admin backend, e.g by coding this is already possible as follows:
$mail->AddEmbeddedImage( JPATH_ROOT .'/images/logo.png', 'logo', 'logo.png', 'base64', 'image/png' );
Then in the HTML mail reference the embedded image by its CID: