The problem I'm having with ASP is that, in order to execute a command line, I have to 
use a server side include, which gets executed before the code in my page, which means 
it'll send the mail before I can get the info from the form.  I'm sure I can get the 
form handled and saved as a file before I call up the imail1.exe, but I'm also having 
a little trouble with server side includes.  My page doesn't seem to want to execute 
the line, it just displays it.  Most of my other SSI's work, but not the exec#...  
Maybe this is more of an IIS question?

Thanks for the great and timely responses everyone!

PV

-----Original Message-----
From:   Doug Lacombe [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, August 09, 1999 11:30 AM
To:     [EMAIL PROTECTED]
Subject:        Re: [IMail Forum] Handling Forms

Philip Ventrella wrote:

> It seems odd that I would have to pay extra for a componant for something this 
>simple.  Since Imail does a ton of web based activites, I would imagine that all I 
>have to do is direct my form to a cgi file with some extra fields or parameters.  
>Just in case, I'm downloaded ASPmail demo to try it out.

Put the form action to your script (duh, OK that's obvious), have your script save the 
form contents to a temp text file, then have your script execute imail1.exe with all 
the right switches, etc. to pick up the file and send it. I did it in perl, but ASP 
would do the same I'm sure. Later I figured out
it was way easier in iHTML which came with my webserver WS Pro from O'Reilly, so I'm 
phasing out this imail1.exe method, but it works fine.

Do a search on ipswitch's KB for imail1.exe for the syntax. Sorry I don't have it 
handy.

Cheers,

Doug




--
Doug Lacombe, Electronic Media Manager, The StarPhoenix
[EMAIL PROTECTED], Phone: 306-664-8341, Fax: 306-664-8208
Read The StarPhoenix on the web at http://www.TheStarPhoenix.com
Visit my personal site on the web at http://www.lacomm.sk.ca/doug/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

application/ms-tnef

Reply via email to