Return-Path: Mailing-List: contact tapestry-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tapestry-user@jakarta.apache.org Received: (qmail 78553 invoked from network); 25 Aug 2003 13:30:52 -0000 Received: from cf1.isn.net (HELO mail.mergitech.com) (198.167.161.43) by daedalus.apache.org with SMTP; 25 Aug 2003 13:30:52 -0000 Received: from adam ([]) by mail.mergitech.com (Merak 5.1.2) with SMTP id EZL73735 for ; Mon, 25 Aug 2003 10:29:24 -0300 From: "Adam Greene" To: "Tapestry users" Subject: RE: Email Tapestry Page Date: Mon, 25 Aug 2003 10:31:15 -0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_004A_01C36AF4.037BB7F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <328F0554099E3B418A43A44ADF3A8E4701EEA826@mail.smartprice.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_004A_01C36AF4.037BB7F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I created a component to do that. It's rough and quick, but here it is. You simply surround the content you want rendered as an HTML email, set the "to" field to a collection of strings, the from, and the subject, and when the page renders it emails the HTML rather than displaying it. Here is an example component reference for the .page: postmaster@xyz.com mail.xyz.com Howard, If you want, you can include it in Tapestry-contrib, let me know if it needs any changes to conform. -----Original Message----- From: Joel Trunick [mailto:Joel@SmartPrice.com] Sent: Friday, August 22, 2003 11:22 AM To: 'Tapestry users' Subject: Email Tapestry Page How would I go about emailing a page in Tapestry? Is there a way to do this? I'd want to have a submit/link, and then have Tapestry generate the same page and then send it. I know how to send an html email, just wondered how I could tell Tapestry to generate the page for me (how to I capture and trigger the rendering?). Thanks, Joel ------=_NextPart_000_004A_01C36AF4.037BB7F0--