Do any other images using this method (of calling an SRC value) work?

I don’t think it’s the image; I think it’s Gmail (or possibly any other mail 
client) blocking images called in this manner.

See this article from SendGrid for an informative explanation: 
https://sendgrid.com/blog/embedding-images-emails-facts/

>From the article:

The problem with CID embedded images is that they don’t always display properly 
in email clients. The rule of thumb I use is that CID embedding will work fine 
in the majority of desktop email clients, but most likely not at all in web 
based email clients such as Gmail, or Yahoo! Mail. Bummer.

I have a feeling your images are not working in Gmail due to this fact. The 
article does talk about other methods though, so you may find your solution 
there.

From: [email protected] <[email protected]> On Behalf Of Tom 
Stevenson
Sent: 10 October, 2019 2:20 PM
To: [email protected]
Subject: RE: [houcfug] cfmailparam issue

[EXTERNAL EMAIL]
Should it be:

<img style="margin-top:7px;" src="cid:vwvidbut" width="142" alt="Click to view 
Tech Tip Video"><br>

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of Mike G
Sent: Thursday, October 10, 2019 2:02 PM
To: [email protected]<mailto:[email protected]>
Subject: [houcfug] cfmailparam issue

I am sending an email with embedded images.  The email sends fine, except for 
one single image.  I have tried both an http ref as well as pulling it from 
disc.

Does anyone see anything in the super simple code that could be causing the 
issue?  I have been at this since 8am and have renamed the image, went from jpg 
to png to gif and even recreated it from scratch.  No matter what, gmail gives 
it as an attachment; but in the original email all embedded images are working 
as expected..

<cfset imgPath=rootFolder&"image/l/email/">
<cfmail to="[email protected]<mailto:[email protected]>" 
from="[email protected]<mailto:[email protected]>" 
replyto="[email protected]<mailto:[email protected]>" subject="testin" 
type="html">
<cfmailparam file="https://www.sawblade.com/image/l/email/playvideovim.gif"; 
contentid="vwvidbut" disposition="inline" />
<cfmailparam file="#imgPath#playvideovim.gif" contentid="vwvidbut1" 
disposition="inline" />
<img style="margin-top:7px;" src="cd:vwvidbut" width="142" alt="Click to view 
Tech Tip Video"><br>
<img style="margin-top:7px;" src="cd:vwvidbut1" width="142" alt="Click to view 
Tech Tip Video 1">

</cfmail>

[cid:[email protected]]
--
--
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to 
[email protected]<mailto:[email protected]>
For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups 
"Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/houcfug/CAKb7GJOOkCzS-58iCc2EfG_jey3xCyDCM1qZtV%2BVqYs0fdp-7Q%40mail.gmail.com<https://groups.google.com/d/msgid/houcfug/CAKb7GJOOkCzS-58iCc2EfG_jey3xCyDCM1qZtV%2BVqYs0fdp-7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
--
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to 
[email protected]<mailto:[email protected]>
For more options, visit http://groups.google.com/group/houcfug?hl=en

---
You received this message because you are subscribed to the Google Groups 
"Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/houcfug/DM5PR1201MB00897AD1B6A809A22FAABD3FA5940%40DM5PR1201MB0089.namprd12.prod.outlook.com<https://groups.google.com/d/msgid/houcfug/DM5PR1201MB00897AD1B6A809A22FAABD3FA5940%40DM5PR1201MB0089.namprd12.prod.outlook.com?utm_medium=email&utm_source=footer>.

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast Ltd, an innovator in Software as a Service 
(SaaS) for business. Providing a safer and more useful place for your human 
generated data. Specializing in; Security, archiving and compliance. To find 
out more visit the Mimecast website.

-- 
-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Houston ColdFusion Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/houcfug/1D78C19BC5AD1A4C8EE8AB90BBD2E548EF40A9C7%40ALNEXMBXN303.bakerbotts.net.

Reply via email to