In Delphi, I create emails in HTML using the following code to display a signature in the message:
cMsg:= cMsg + ' <img src="BarrysSignature.jpg" '>
Which means I need to have the .jpg
available in the current directory (and distribute it with the executable).
I also use these same signature .jpg
files elsewhere in my program, but I've loaded them as resources. What would be better in the emails is if I used the resource for the signature in the email, rather than the external .jpg
picture.
I've tried a few ways of doing this but can't get it working. Any thoughts, please?