Michael Gillespie
01/24/2023, 2:21 PM<cfmailparam file="#variables.imgPath#icon-yt.png" contentid="iconyt" disposition="inline" />
Any tips on either, a) how to modify the display page, or b) an alternative to spoolmail that shows what the actual email looks like.Evil Ware
01/24/2023, 2:33 PMMichael Gillespie
01/24/2023, 2:41 PMEvil Ware
01/24/2023, 2:44 PMMichael Schmidt
01/24/2023, 2:45 PMMichael Gillespie
01/24/2023, 2:45 PMMichael Gillespie
01/24/2023, 2:46 PMEvil Ware
01/24/2023, 2:48 PMMichael Schmidt
01/24/2023, 2:49 PMMichael Gillespie
01/24/2023, 2:49 PMMichael Gillespie
01/24/2023, 2:51 PMEvil Ware
01/24/2023, 2:54 PMMichael Gillespie
01/24/2023, 2:56 PMMichael Gillespie
01/24/2023, 2:57 PMMichael Gillespie
01/24/2023, 2:58 PM<cfif mail.type is "text">
<pre>
#mailbody#
</pre>
<cfelseif mail.type is "multipart">
#replace(activateURL(mail.plain,"_new"),"#chr(10)#","<br>","all")#
<hr>
#mail.html#
<cfelse>
#mailbody#
</cfif>Michael Gillespie
01/24/2023, 3:00 PMMichael Schmidt
01/24/2023, 3:03 PMEvil Ware
01/24/2023, 3:04 PMMichael Gillespie
01/24/2023, 3:04 PMMichael Gillespie
01/24/2023, 3:10 PMMichael Schmidt
01/24/2023, 3:13 PMMichael Gillespie
01/24/2023, 3:14 PMMichael Schmidt
01/24/2023, 3:16 PMMichael Schmidt
01/24/2023, 3:17 PMMichael Gillespie
01/24/2023, 3:18 PMMichael Schmidt
01/24/2023, 3:19 PMMichael Gillespie
01/24/2023, 3:21 PMEvil Ware
01/24/2023, 3:41 PMMichael Gillespie
01/24/2023, 3:44 PMMichael Gillespie
01/24/2023, 6:06 PMgavinbaumanis
01/24/2023, 9:17 PMMichael Gillespie
01/24/2023, 9:49 PMgavinbaumanis
01/24/2023, 9:52 PMMichael Gillespie
01/24/2023, 9:53 PMMichael Gillespie
01/24/2023, 9:55 PMMichael Schmidt
01/24/2023, 10:00 PMgavinbaumanis
01/24/2023, 10:05 PMMichael Gillespie
01/24/2023, 10:14 PM<cfmailparam file="#variables.imgPath#icon-yt.png" contentid="iconyt" disposition="inline" />
What ends up in the .cfmail is this
<img src="cid:iconyt">
Which, of course, can't be rendered in the browser. Even MailHog used the cid: as the src for the image tag. These emails, sent to outlook, gmail, etc render just fine, though looking at gmail, google uses some offline method to render the image, so I expect that is also in outlook and other email clients.
When you look in the .cfmail file, thisis how they are handled.
file: E:\webroot\sbnew\image\l\email\icon-yt.png
filename: icon-yt.png
file-type: application/octet-stream; name=icon-yt.png
file-disposition: inline
file-id: <iconyt>
remove: falseMichael Gillespie
01/24/2023, 10:49 PMzackster
01/25/2023, 1:19 PMMichael Gillespie
01/25/2023, 6:59 PM