Normally when we send an image through an email, we send it either as an attachment or external link. In addition to these two we have one more way to do the same in ColdFusion, i.e. sending embedded images in an email.
Using CFMAIL tag attributes we provide all the details for sending an email programmatically like TO, FROM, MAILSERVER etc. The body of the email goes in between the starting and ending tags of CFMAIL. CFMAILPARAM (sub tag for CFMAIL) in ColdFusion is normally used to attach a file or add a header to a message. Using this tag, we can send embedded images in an email.
Image Embed Example
0 · ·