This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: CYGWIN + APCHE + Net::SMTP


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@cygwin.com [mailto:cygwin-owner@cygwin.com] On
Behalf
> Of Jason Tishler
> Sent: Thursday, September 23, 2004 4:15 AM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]