Welcome guest,

You have 1 votes remaining.

0 votes
none
Subscribe

Mail: Embedded images

by romeo.sulzer on 20 Jan 2020 12:46 | 97 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:


1000 Characters left

How many votes ?×

Please select the appropiate flag ×

Spam Inappropriate Duplicate Wrong Category

Please select the category