What he needs to do is use the form to create a file containing the message
text.  Then use the system() commmand in PERL to run imail1 to actually send
the mail.

It would look something like this:
system("$imail1exe -u $sentby -t $toaddress -s $subject -f $messagefile");

$imail1exe should be the full path to the executable imail1.exe etc. etc.

You can find the meaning for -u -t etc. in
http://support.ipswitch.com/kb/IM-19980119-DD10.htm

Dan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Len Conrad
Sent: Thursday, September 07, 2000 7:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] CGI



>I am running Windows 2000 Server with IIS. I have downloaded and
>installed active Perl build 616. I have a form for people to fill
>out and then email to me. How do I use IMail to send this email. I
>am new to CGI Scripting and IMail 6.04 so please be gentle. TIA

Imail has a "sendmail" command line mailer called something or
other.  You could look it up. vbg

There is also popular 3rd party command line mailer:
http://www.interlog.com/~tcharron/blat.html

Unless you wanna do something really special or just learn  PERL/CGI
on NT, Perl seems a little heavy for this.

Len


http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5  installable binary for NT4
http://IMGate.MEIway.com:  Build free, hi-perf, anti-spam mail gateways

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

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

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

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to