RE: Sendmail and ASP (was Forms and Formmail on NT Server)

by Tino Wildenhain <cdtv(at)amigager.de>

 Date:  Fri, 11 May 2001 00:38:28 +0200
 To:  Chuck Evans <chuck.evans(at)click2learn.com>,
"'HWG Servers'" <hwg-servers(at)hwg.org>
 References:  asymetrix
  todo: View Thread, Original
Hi Chuck,

I would not do that (besides not using ASP anyway ;)
In my former life as sometimes forced to be ASP programmer
I used python (with win32 extensions) as ASP language
in favour of the delivered JavaScript and VisualBasicScript.

This allowed my to simply use pythons smtplib to send mail.
The approach works with Apache also. (In fact the part
of the script is identical)
The main advantage is:

- you dont need to call external programms (so you dont
  have to struggle with pathnames, permissions and expect
  performace loss)
- you can be more secure, since you dont have to strip all
  illegal and possibly illegal characters, which can be
  otherwise expanded by the underlying shell.

- you can also easy encode mime-mail to include files or
  such with the mail

I believe you can do it with perl integrated too (not with
calling sendmail but with library functions) and do the same
with perl (see Active State for this).

HTH
Tino Wildenhain


--On Donnerstag, 10. Mai 2001 11:54 -0700 Chuck Evans 
<chuck.evans(at)click2learn.com> wrote:

> I originally asked this question on the Techniques list, to stunning
> silence, so I'm hoping someone on Servers might know:
>
> I have a related question. I know about using sendmail under NT for form
> mailing using Perl scripts. And, I know about using ASPMail under NT for
> form mailing using ASP. But do the twain meet?
>
> Specifically, can I call sendmail on NT from an ASP script? Is the syntax
> identical? If not, can anyone point me to script examples doing so?
>
> Thanks!
>
> Chuck Evans
> Click2learn
>
> -----Original Message-----
> From: Lady Wistfulee [mailto:ladywist(at)bellsouth.net]
>
> The company I worked for recently uses Interland, & I used ASP for sending
> form information.  Interland uses J-Mail (as opposed to CDONTS, or other
> ASP mail choices).  There are a lot of references for that online & it is
> extremely easy to code for.
>
> ----- Original Message -----
> From: "ALG2dotCom" <alg2(at)alg2.com>
>
>> I am hosted with Interland (www.interland.net) and they offer FormMail.
>> I am not strong enough in Perl to tell you what modifications they made,
>> but I do know that it works.
>
>> -----Original Message-----
>> From: jgarber(at)bestweb.net
>>
>> I posed this question some time ago, but perhaps there are
>> other solutions now available.
>>
>> My client had a site designed by another designer that ran
>> fine on a Unix server. My client's Wen hoster was taken over
>> by another and the servers were changed over to NTs. There
>> was a simple catalogue order form which consisted of a
>> Formmail script sending mailing info to an email address. It
>> stopped functioning when the servers were changed.
>>
>> I spent an inordinate amount of time trying to get it to
>> work with little support from the hoster. I settled on a
>> simple mailto solution. Now my client informs me that she
>> does want the form which prompt with the correct info they need.
>>
>> The HWG folks last time essentially told me that Formmail
>> does not work with NT servers.
>>
>> Is that still so? I spoke to a web programmer who said that
>> he does forms in ASP. Is that the route to go? I need to get
>> this down fairly quickly.

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.