I am trying to embed a signature image into an email. The image is created:
<cfset Signature = ImageReadBase64(content) />
<cfimage name="thisSignature" source="#Signature#" action="read" >
When I "WritetoBrowser" the image appears fine. All good so far.
In my Cfmail tag I use:
<cfmailparam file="signature.png" contentid="signature" content="#thisSignature#" disposition="inline" type="image/png" />
<img src="cid:signature"> to show the image.
My problem: For some reason the image in the email is viewed as a negative image ... black background and light blue signature. Somehow, the cfmailparam tag is converting the image. Why??? I have tried everything I can think of, but nothing will change it back to white background and black signature.
Any thoughts would be very helpful.