Are you running the version for NT? the unix version 'opens' the mailprog
and writes to it. The nt version opens a temp file, writes to it, closes
it, sends it with mailprog, then deletes it.
check the script out to verify which you have.
-----Original Message-----
From: Philip Clever <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, September 27, 1999 4:07 PM
Subject: Re: [IMail Forum] CGI Mailform Perl Script
>I tried that but no dice:
>
>$mailprog= ("c:\\imail\\imail1.exe")
>
>Wont send me the e-mail form. it works on a unix with sendmail. I am
using
>Matts MailForm Script www.worldwidemart.com/scripts
>----- Original Message -----
>From: David Gregg <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, September 27, 1999 11:36 AM
>Subject: Re: [IMail Forum] CGI Mailform Perl Script
>
>
>> Anywhere you use the system() function to call an executable, you must
use
>> backslashes. This includes any path information you are passing as
>> parameters.
>>
>> Remember to double up on the backslashes when in quotes ( i.e.
>> "c:\\imail\\imail1.exe")
>>
>> Everywhere else in Perl, feel free to use the forward (unix like)
slashes.
>>
>>
>> -----Original Message-----
>> From: Philip Clever <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Monday, September 27, 1999 2:33 PM
>> Subject: Re: [IMail Forum] CGI Mailform Perl Script
>>
>>
>> >ok did that and everything seems to run fine but it doesn't send off the
>> >form. any ideas? should I use forward slashes in the script instead of
>> >backslashes for the location of the smtp server?
>> >----- Original Message -----
>> >From: David Gregg <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Monday, September 27, 1999 10:37 AM
>> >Subject: Re: [IMail Forum] CGI Mailform Perl Script
>> >
>> >
>> >> The default installation path would result in:
>> >> c:\imail\imail1.exe
>> >>
>> >> I would recommend that you use blat.exe (available free - check
>> >hotbot.com).
>> >> It has more options, works great, and includes source code. Blat
>simply
>> >> delivers your message to smtp server for relay.
>> >>
>> >> -----Original Message-----
>> >> From: Philip Clever <[EMAIL PROTECTED]>
>> >> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> >> Date: Monday, September 27, 1999 1:21 PM
>> >> Subject: [IMail Forum] CGI Mailform Perl Script
>> >>
>> >>
>> >> >I am trying to set this up in NT and was wondering what is the
default
>> >> >directory in Imail is for the smtp program that this mailform script
>> >needs
>> >> >to access?
>> >> >
>> >> >Thanks
>> >> >
>> >> >Please visit http://www.ipswitch.com/support/mailing-lists.html
>> >> >to be removed from this list.
>> >> >
>> >>
>> >> Please visit http://www.ipswitch.com/support/mailing-lists.html
>> >> to be removed from this list.
>> >>
>> >
>> >Please visit http://www.ipswitch.com/support/mailing-lists.html
>> >to be removed from this list.
>> >
>>
>> Please visit http://www.ipswitch.com/support/mailing-lists.html
>> to be removed from this list.
>>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.