delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/23/14:02:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: CYGWIN + APCHE + Net::SMTP
Date: Thu, 23 Sep 2004 11:00:58 -0700
Message-ID: <24BDFF97F1939B44BCBA2E6AADEB0A28246FF4@mailsc.engineering.netscaler.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Prakash Khemani" <khemani AT netscaler DOT com>
To: "Jason Tishler" <jason AT tishler DOT net>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i8NI2bUG000311

Yes. Setting the SYSTEMROOT environment variable in Apach'e CGI
environment did it. "Thou shalt not unset SYSTEMROOT" is a good
commandment to stick with.

Thanks everybody for the excellent help!

Regards,
Prakash

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
Behalf
> Of Jason Tishler
> Sent: Thursday, September 23, 2004 4:15 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: CYGWIN + APCHE + Net::SMTP
> 
> Prakash,
> 
> On Wed, Sep 22, 2004 at 04:04:23PM -0700, Prakash Khemani wrote:
> > A similar problem occurs when I use /usr/sbin/ssmtp instead of
Perl's
> > Net::SMTP.
> >
> > I am able to send mail using /usr/sbin/ssmtp from the cygin shell
cmd
> > line.
> >
> > But when ssmtp is invoked from a perl script inside Apache2's CGI
> > environment (sunning on Windows XP and cygwin) - I get the following
> > error
> >
> >
> > ssmtp: Cannot open mail.eng.netscaler.com:25
> 
> The following thread may be applicable:
> 
>     http://cygwin.com/ml/cygwin/2004-08/msg00368.html
> 
> Is Apache2's CGI environment missing the SYSTEMROOT environment
> variable?
> 
> Jason
> 
> --
> PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
> Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019