Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Using cdonts to email a form


Message #1 by "larry Rosenzweig" <rosenzl@o...> on Fri, 14 Feb 2003 18:54:32
I have a page called faxform.htm, which contains a combo of 7 text and 
drop down fields, followed by a form called form1. My objective is to 
email this form as it appears after user fills out form. I am willing to 
have it bring up the outlook email with the form in the body or internally 
submit the form using a submit button.  Please see 
www.faxfoodorder.com/faxform.htm.

Effectively, I want to take the whole page (including the form) and put it 
in the body of the  email to be sent.

1. Is there a way to include the entire form in the body of the email, 
without having to specify each field?
2. After looking at the form at the address above, what would you 
recommend I do? I could currently do a Select All, Copy and Paste into the 
body, after I open new mail,but I want it automated.

Thanks,

Larry   
Message #2 by "Siegfried Weber" <sweber@c...> on Fri, 14 Feb 2003 22:16:24 +0100
With the data a visitor has entered? In that case you would need to pass
the data back to the server and then put it into the message body. While
I haven't done that particular task I did sometimes last year a simple
form thing that got saved to the local hard disk and then mail it with a
mail client application.

The trick to save the filled out form was to include a <div> HTML tag in
the message body and used a piece of DHTML/Jscript to do a
self.document.<divtagname>.innerHTML to read out the whole thing.

However, since this was completely client-based I am not sure how to
accomplish that on the server but the hint I mentioned might help you to
head into the right direction.

<Cheers:Siegfried runat=3D"server" />

Development Lead,

CDOLive LLC - The Microsoft Messaging and Collaboration Application
Experts
http://www.cdolive.com


> -----Original Message-----
> From: larry Rosenzweig [mailto:rosenzl@o...]
> Sent: Friday, February 14, 2003 7:55 PM
> To: ASP CDO
> Subject: [asp_cdo] Using cdonts to email a form
>
>
> I have a page called faxform.htm, which contains a combo of 7
> text and
> drop down fields, followed by a form called form1. My objective is to
> email this form as it appears after user fills out form. I am
> willing to
> have it bring up the outlook email with the form in the body
> or internally
> submit the form using a submit button.  Please see
> www.faxfoodorder.com/faxform.htm.
>
> Effectively, I want to take the whole page (including the
> form) and put it
> in the body of the  email to be sent.
>
> 1. Is there a way to include the entire form in the body of
> the email,
> without having to specify each field?
> 2. After looking at the form at the address above, what would you
> recommend I do? I could currently do a Select All, Copy and
> Paste into the
> body, after I open new mail,but I want it automated.
>
> Thanks,
>
> Larry  
>
Message #3 by "Reetu Mathur" <reetu_m@h...> on Sat, 15 Feb 2003 22:28:04 +0000
Hello Larry,

Check this site out

http://www.aspfaqs.com/webtech/071599-1.shtml

Hope this helps,

Reetu






>From: "larry Rosenzweig" <rosenzl@o...>
>Reply-To: "ASP CDO" <asp_cdo@p...>
>To: "ASP CDO" <asp_cdo@p...>
>Subject: [asp_cdo] Using cdonts to email a form
>Date: Fri, 14 Feb 2003 18:54:32
>
>I have a page called faxform.htm, which contains a combo of 7 text and
>drop down fields, followed by a form called form1. My objective is to
>email this form as it appears after user fills out form. I am willing to
>have it bring up the outlook email with the form in the body or internally
>submit the form using a submit button.  Please see
>www.faxfoodorder.com/faxform.htm.
>
>Effectively, I want to take the whole page (including the form) and put it
>in the body of the  email to be sent.
>
>1. Is there a way to include the entire form in the body of the email,
>without having to specify each field?
>2. After looking at the form at the address above, what would you
>recommend I do? I could currently do a Select All, Copy and Paste into the
>body, after I open new mail,but I want it automated.
>
>Thanks,
>
>Larry


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


  Return to Index