I haven't found an easy way to do this in ColdFusion.  In ASP, there is a
CDO object that you can use that will do it automatically.  You can
instantiate a CDONTS object with a <CFOBJECT> tag and then use all of the
built-in methods of CDO.  Info on CDO is at the Microsoft site.

Another method involves a thorough understanding of mail headers.  In
CFMAIL, you can create your own headers and create multipart emails.  The
problem with images is that you would have to create the email and then
paste the binary content of the attachment into the CF code of the email.
It's very messy, but I do it all the time.  You can create the message with
Outlook Express, send it to yourself, then look at the source code of the
message -- you'll see what I'm talking about.

tom
www.basic-ultradev.com

"David Adams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C0E86E.EC4A41F0
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> Hello.  I'm trying to create html mail using cfmail.  Specifically, I'd
like
> to put in images that are normally attachments.
>
> Take this situation.  Using Outlook you can create emails and paste in
> graphics (they are converted to bmp files on the other end, but show up as
> images in the otherwise 'normal' html document.  This is the image tag
that
> is used:
> <IMG src="cid:552454817@29052001-0ca6";>
>
> My question is, does anyone know how to attach an image so that it show up
> in place in the email?
>
> Yes, I could put in images as links to my web pages, but this isn't the
same
> thing.  What if my web site is inside a firewall or whatever.
>
> Thank you!
>
>
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to