Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

emailing a web page

Status
Not open for further replies.

eholt

MIS
May 24, 2001
2
US
I have created this web page for a client, the client wants to be able to email this page after is diplayed. How do I go about doing this.

I'm fairly new to ColdFusion.
 
Hey Eholt,

Do you mean they want someone to be able to e-mail the url for the page to someone else (ex. "send this link to a friend...") or do they want to actually send an e-mail with the .html file attached?

GJ
 
Thanks for your response. Yes, they want to have the .html document emailed.
 
Hey Eholt,

I believe this should do what you want.

<cfmail
to=&quot;recipientAddress&quot;
from=&quot;fromAddress&quot;
subject=&quot;Web Page attached&quot;
mimeattach=#cgi.path_translated#
>
Attached is the web page located at </cfmail>

Let me know if you have any trouble.
GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top