delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/26/10:12:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 26 May 2003 15:09:59 +0100 (BST)
From: Ian Sealy <Ian DOT Sealy AT bristol DOT ac DOT uk>
X-X-Sender: bzims AT mail DOT ilrt DOT bris DOT ac DOT uk
To: cygwin AT cygwin DOT com
Subject: Re: Mail::Sendmail module; Perl 5.8.0; WinXP (Socket problem?)
In-Reply-To: <Pine.GSO.4.44.0305260957560.26092-100000@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.44.0305261508460.23259-100000@mail.ilrt.bris.ac.uk>
MIME-Version: 1.0

Dear Igor,

> > I'm trying to use the Mail::Sendmail Perl module with Perl 5.8.0-2 on
> > Windows XP. The Cygwin DLL version is 1.3.22.
> >
> > make test produces:
> >
> > /usr/bin/perl.exe "-Iblib/lib" "-Iblib/arch" test.pl
> > 1..2
> > Test Mail::Sendmail 0.79
> >
> > Trying to send a message to the author (and/or whoever if you edited
> > test.pl)
> >
> > (The test is designed so it can be run by Test::Harness from CPAN.pm.
> > Edit it to send the mail to yourself for more concrete feedback. If you
> > do this, you also need to specify a different mail server, and possibly
> > a different From: address.)
> >
> > Current recipient(s): 'Sendmail Test <sendmail AT alma DOT ch>'
> >
> > ok 1
> > Server set to: mail.alma.ch
> > Sending...
> > Use of uninitialized value in chomp at blib/lib/Mail/Sendmail.pm line 158, <S> chunk 1.
> > Use of uninitialized value in pattern match (m//) at blib/lib/Mail/Sendmail.pm line 160, <S> chunk 1.
> > Use of uninitialized value in concatenation (.) or string at blib/lib/Mail/Sendmail.pm line 333, <S> chunk 1.
> > HELO error ()
> > !Error sending mail:
> > HELO error ()
> >
> > not ok 2
> >
> >
> > The test.pl script hangs for a long time (at "Sending...") before
> > printing the errors. Any idea what could be wrong? Are there any
> > problems with using the Socket module under Cygwin (which is pretty much
> > all Mail::Sendmail does)?
>
> Just to test a theory, could you set the PERLIO environment variable to
> "perlio", export it, and re-run the test?  See
> <http://cygwin.com/ml/cygwin/2003-03/msg01093.html> for details; this
> information should also be in the release notes section of
> /usr/doc/Cygwin/perl-5.8.0-1.README...

Yep, that's sorted it. Thanks very much.

Cheers,
Ian


--
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