Sounds promising... 

I just think that it's a little weird to have implemented:

<CFMAILPART TYPE="image/gif">#toBase64(gifFile)#</CFMAILPART>

When it doesn't work... Would obviously be more user-friendly if it was:

<CFMAILPART TYPE="image/gif" REF="Image23">#toBase64(gifFile)#</CFMAILPART>

So that <IMG SRC="<???>"> becomes <IMG SRC="Image23"> and then it does the
mapping code behind the scenes...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Stewart
Sent: Tuesday, July 27, 2004 8:31 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Embedding Images in Coldfusion MX 6.1

I believe that with cfmx6.1 it is no longer possible to embed images.
Here is a thread on houseoffusion mailing list on that topic with some
workarounds:
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=316
15&forumid=4

Cheers
G

On Tue, 27 Jul 2004 17:42:20 +1000, Chris Dawes <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm just trying to get my head around embedding an image in an e-mail 
> using cfmail. And _NO_ I do not want a lecture of the pros and cons of 
> sending embeded images... ;-)
> 
> What do I put in the image tag as the source?
> 
> <CFFILE ACTION="READBINARY" FILE="G:\<removed>\hamburgler.gif"
> VARIABLE="gifFile">
> <CFMAIL TO="<removed>" FROM="<removed>" SUBJECT="Test E-mail"
> SERVER="mail.mailsnare.net" PORT="2525" TIMEOUT="180" USERNAME="<removed>"
> PASSWORD="<removed>" REPLYTO="<removed>" FAILTO="<removed>"
> MAILERID="<removed>">
>        <CFMAILPART TYPE="text/plain">This is  a test message.</CFMAILPART>
>        <CFMAILPART TYPE="text/html">This is  a <FONT 
> COLOR="red">test</FONT> message. <IMG SRC="<???>" ALT=""
> BORDER="0"></CFMAILPART>
>        <CFMAILPART TYPE="image/gif">#toBase64(gifFile)#</CFMAILPART>
> </CFMAIL>
> <CFOUTPUT>
> 
> Kind Regards,
> Christopher Dawes
> Dawes International
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To 
> unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 


--
e: greg.stewart(a)gmail.com
w: http://gregs.tcias.co.uk/

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to