sendmail: under Windows NT/2000

Shicheng S.Tian at
Wed Dec 6 16:24:08 EST 2000

Hello all,
I test a python cgi sendmail program; in the code
there are the following lines:

sendmail_cmd = "/usr/lib/sendmail -oi "
try: mfd = os.popen(sendmail_cmd + real_to, "w")

I think the string "/usr/lib/sendmail -oi " suggests
that the code should be used under the UNIX platform.

My query is: under Windows NT/2000, how could I change the
above line of code so that I could make use of the NT/2000
mailing facility in the code?



Sent via
Before you buy.

More information about the Python-list mailing list