Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Brian Kelly" To: Subject: Mail::Sendmail module; Perl 5.8.0; WinXP (Socket problem?) Date: Mon, 26 May 2003 10:12:38 -0400 Message-ID: <002401c32390$dd648100$6700a8c0@maxstars8g31h2> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [138.89.35.173] at Mon, 26 May 2003 09:12:32 -0500 Try using the Mail::Sender module - unless you want to fix Mail::Sendmail itself. If you look at the Readme's that come with Mail::Sender, you'll see the author had to put in a fix to make it work with Perl 5.8.0 - a fix I think probably needs to be applied to Mail::Sendmail but to my knowledge hasn't yet. I spent a couple days trying to get Mail::Sendmail to work on cygwin/2000 cygwin/NT4 and AIX. After only partial success, I decided to go with Mail::Sender which worked for all platforms. Brian Kelly -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Ian Sealy Sent: Monday, May 26, 2003 9:42 AM To: cygwin AT cygwin DOT com Subject: Mail::Sendmail module; Perl 5.8.0; WinXP (Socket problem?) Hi, 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 ' ok 1 Server set to: mail.alma.ch Sending... Use of uninitialized value in chomp at blib/lib/Mail/Sendmail.pm line 158, chunk 1. Use of uninitialized value in pattern match (m//) at blib/lib/Mail/Sendmail.pm line 160, chunk 1. Use of uninitialized value in concatenation (.) or string at blib/lib/Mail/Sendmail.pm line 333, 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)? 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/ -- 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/