|
Prev: 2 simple questions
Next: perl PNG image searching
From: hendedav on 7 May 2008 10:01 Gang, I am trying to use Net::SMTP to send email from a computer and it fails to send (debug info below). I can take this same script and put it on another computer and it works just fine. That would tell me some piece of software isn't installed on the non-working computer, but I have no idea as to what it may be. I have made sure the files are the same on both computers that are listed in the "use" statements at the top of the Net::SMTP module. I am using Debian 3.1 on the one that works and 4.0 on the one that doesn't work. Any help would greatly be appreciated. Thanks, Dave Net::SMTP>>> Net::SMTP(2.29) Net::SMTP>>> Net::Cmd(2.26) Net::SMTP>>> Exporter(5.58) Net::SMTP>>> IO::Socket::INET(1.29) Net::SMTP>>> IO::Socket(1.29) Net::SMTP>>> IO::Handle(1.25) Net::SMTP=GLOB(0x82cd2dc)<<< 220 smtp106.biz.mail.re2.yahoo.com ESMTP Net::SMTP=GLOB(0x82cd2dc)>>> EHLO digital-pipe.com Net::SMTP=GLOB(0x82cd2dc)<<< 250-smtp106.biz.mail.re2.yahoo.com Net::SMTP=GLOB(0x82cd2dc)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE Net::SMTP=GLOB(0x82cd2dc)<<< 250-PIPELINING Net::SMTP=GLOB(0x82cd2dc)<<< 250 8BITMIME
From: smallpond on 7 May 2008 14:00 hendedav(a)gmail.com wrote: > Gang, > > I am trying to use Net::SMTP to send email from a computer and it > fails to send (debug info below). I can take this same script and put > it on another computer and it works just fine. That would tell me > some piece of software isn't installed on the non-working computer, > but I have no idea as to what it may be. I have made sure the files > are the same on both computers that are listed in the "use" statements > at the top of the Net::SMTP module. I am using Debian 3.1 on the one > that works and 4.0 on the one that doesn't work. Any help would > greatly be appreciated. > > Thanks, > > Dave > > > > Net::SMTP>>> Net::SMTP(2.29) > Net::SMTP>>> Net::Cmd(2.26) > Net::SMTP>>> Exporter(5.58) > Net::SMTP>>> IO::Socket::INET(1.29) > Net::SMTP>>> IO::Socket(1.29) > Net::SMTP>>> IO::Handle(1.25) > Net::SMTP=GLOB(0x82cd2dc)<<< 220 smtp106.biz.mail.re2.yahoo.com ESMTP > Net::SMTP=GLOB(0x82cd2dc)>>> EHLO digital-pipe.com > Net::SMTP=GLOB(0x82cd2dc)<<< 250-smtp106.biz.mail.re2.yahoo.com > Net::SMTP=GLOB(0x82cd2dc)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE > Net::SMTP=GLOB(0x82cd2dc)<<< 250-PIPELINING > Net::SMTP=GLOB(0x82cd2dc)<<< 250 8BITMIME 220 says that yahoo will accept mail using ESMTP, so you sent EHLO. 250 says OK, here's what I accept. There's no error shown here, the next thing that you should do is send MAIL FROM:, which you didn't. --S ** Posted from http://www.teranews.com **
From: hendedav on 7 May 2008 14:31 On May 7, 3:00 pm, smallpond <smallp...(a)juno.com> wrote: > hende...(a)gmail.com wrote: > > Gang, > > > I am trying to use Net::SMTP to send email from a computer and it > > fails to send (debug info below). I can take this same script and put > > it on another computer and it works just fine. That would tell me > > some piece of software isn't installed on the non-working computer, > > but I have no idea as to what it may be. I have made sure the files > > are the same on both computers that are listed in the "use" statements > > at the top of the Net::SMTP module. I am using Debian 3.1 on the one > > that works and 4.0 on the one that doesn't work. Any help would > > greatly be appreciated. > > > Thanks, > > > Dave > > > Net::SMTP>>> Net::SMTP(2.29) > > Net::SMTP>>> Net::Cmd(2.26) > > Net::SMTP>>> Exporter(5.58) > > Net::SMTP>>> IO::Socket::INET(1.29) > > Net::SMTP>>> IO::Socket(1.29) > > Net::SMTP>>> IO::Handle(1.25) > > Net::SMTP=GLOB(0x82cd2dc)<<< 220 smtp106.biz.mail.re2.yahoo.com ESMTP > > Net::SMTP=GLOB(0x82cd2dc)>>> EHLO digital-pipe.com > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-smtp106.biz.mail.re2.yahoo.com > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-PIPELINING > > Net::SMTP=GLOB(0x82cd2dc)<<< 250 8BITMIME > > 220 says that yahoo will accept mail using ESMTP, so you sent EHLO. > 250 says OK, here's what I accept. > There's no error shown here, the next thing that you should do is > send MAIL FROM:, which you didn't. > --S > > ** Posted fromhttp://www.teranews.com** Thanks for the reply. Why would this script work just fine on one computer and then stop at the above point on the other? Dave
From: hendedav on 7 May 2008 14:42 On May 7, 3:31 pm, hende...(a)gmail.com wrote: > On May 7, 3:00 pm, smallpond <smallp...(a)juno.com> wrote: > > > > > hende...(a)gmail.com wrote: > > > Gang, > > > > I am trying to use Net::SMTP to send email from a computer and it > > > fails to send (debug info below). I can take this same script and put > > > it on another computer and it works just fine. That would tell me > > > some piece of software isn't installed on the non-working computer, > > > but I have no idea as to what it may be. I have made sure the files > > > are the same on both computers that are listed in the "use" statements > > > at the top of the Net::SMTP module. I am using Debian 3.1 on the one > > > that works and 4.0 on the one that doesn't work. Any help would > > > greatly be appreciated. > > > > Thanks, > > > > Dave > > > > Net::SMTP>>> Net::SMTP(2.29) > > > Net::SMTP>>> Net::Cmd(2.26) > > > Net::SMTP>>> Exporter(5.58) > > > Net::SMTP>>> IO::Socket::INET(1.29) > > > Net::SMTP>>> IO::Socket(1.29) > > > Net::SMTP>>> IO::Handle(1.25) > > > Net::SMTP=GLOB(0x82cd2dc)<<< 220 smtp106.biz.mail.re2.yahoo.com ESMTP > > > Net::SMTP=GLOB(0x82cd2dc)>>> EHLO digital-pipe.com > > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-smtp106.biz.mail.re2.yahoo.com > > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE > > > Net::SMTP=GLOB(0x82cd2dc)<<< 250-PIPELINING > > > Net::SMTP=GLOB(0x82cd2dc)<<< 250 8BITMIME > > > 220 says that yahoo will accept mail using ESMTP, so you sent EHLO. > > 250 says OK, here's what I accept. > > There's no error shown here, the next thing that you should do is > > send MAIL FROM:, which you didn't. > > --S > > > ** Posted fromhttp://www.teranews.com** > > Thanks for the reply. Why would this script work just fine on one > computer and then stop at the above point on the other? > > Dave I removed the authentication checking and just had the rest of the script processed and here is the response I received: Net::SMTP>>> Net::SMTP(2.29) Net::SMTP>>> Net::Cmd(2.26) Net::SMTP>>> Exporter(5.58) Net::SMTP>>> IO::Socket::INET(1.29) Net::SMTP>>> IO::Socket(1.29) Net::SMTP>>> IO::Handle(1.25) Net::SMTP=GLOB(0x82ccfac)<<< 220 smtp107.biz.mail.re2.yahoo.com ESMTP Net::SMTP=GLOB(0x82ccfac)>>> EHLO digital-pipe.com Net::SMTP=GLOB(0x82ccfac)<<< 250-smtp107.biz.mail.re2.yahoo.com Net::SMTP=GLOB(0x82ccfac)<<< 250-AUTH LOGIN PLAIN XYMCOOKIE Net::SMTP=GLOB(0x82ccfac)<<< 250-PIPELINING Net::SMTP=GLOB(0x82ccfac)<<< 250 8BITMIME Net::SMTP=GLOB(0x82ccfac)>>> MAIL FROM:<noreply(a)netbud.local> Net::SMTP=GLOB(0x82ccfac)<<< 530 authentication required - for help go to http://help.yahoo.com/help/us/bizmail/pop/pop-11.html Net::SMTP=GLOB(0x82ccfac)>>> RCPT TO:<d...(a)digital-pipe.com> Net::SMTP: Unexpected EOF on command channel at /usr/lib/perl/5.8/ libemail.pm line 66 The only reason there is an error in the script at line 66 is because all the lines were processed even though the auth failed (which the script normally wouldn't come to if the auth section that I commented out, failed). Dave
|
Pages: 1 Prev: 2 simple questions Next: perl PNG image searching |