Here's what we finally ended up doing.
The owners of the pages that need to have the "send to a friend" on decided
to upload both the html pages and a content only text file to the server.
The only difference in the name is the extension (html vs txt)
If the user wants to send HTML, I use the CF_HTMLMail tag from the gallery
with CFHTTP. I grab the page via CFHTTP then use the CF_HTMLMail tag to
send it with proper headers, etc. If the user selects Text, I grab the .txt
page via CFHTTP and simply us CFMAIL to send it then. Seems to work fine.
Dave
----- Original Message -----
From: Andrew Scott <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 24, 2000 7:59 PM
Subject: RE: Send This Page To A Friend
> The tag wouldn't hold much, because the content would need to be
reformated
> for text as it would need to be formated for html... So you would need to
do
> this for both and then just use cfmail to email to the address entered.
>
> However saying that you could create the HTML version and then use the
> RegExp to remove all html, the problem then is that you will loose all
> formatting like bold etc... Not Immpossible, but hard to predict what
should
> be left and waht needs to be removed.
>
>
> -----Original Message-----
> From: Beth [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 25 May 2000 1:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Send This Page To A Friend
>
>
> we do it by using cgi.http_referer
>
> Beth
>
> Dave Hannum wrote:
>
> > Have you seen the Email This Page To A Friend button on ZDNet Anchordesk
> pages? Is there a CF tag for that? ZDNet gives a choice
> > for HTML or Plain Text. Anybody got anything like that going?
> >
> > Thanks,
> > Dave
> >
> > =================================
> > "What we need is a list of specific unknown problems we will encounter"
> >
> > David Hannum
> > Web Analyst/Programmer
> > Ohio University
> > [EMAIL PROTECTED]
> > (740) 597-2524
> >
>
> --------------------------------------------------------------------------
> ----
> > Archives: http://www.eGroups.com/list/cf-talk
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --
> Any opinions or statements in this communique do not necessarily reflect
> those of my
> employer
>
>
> --------------------------------------------------------------------------
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.