When I type telnet *********.com 25
I get like this

    220 ************.com ESMTP Postfix
    500 Error: bad syntax
    500 Error: bad syntax
    500 Error: bad syntax
    500 Error: bad syntax

The Program which I sent you work when I telnet into the system and work..
The problem happens when I work in the ACTIVE PERL on windows..

So my question is whether I need to install SMTP module for windows. if so
where will I get...




----- Original Message ----- 
From: "Chris Devers" <[EMAIL PROTECTED]>
To: "Anish Kumar K." <[EMAIL PROTECTED]>
Cc: "beginners perl" <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 2004 6:38 PM
Subject: Re: SMTP Module


> On Thu, 16 Sep 2004, Anish Kumar K. wrote:
> 
> > This is the complete program
> > 
> > use warnings;
> > use strict;
> > use Net::SMTP;
> > my $ServerName = "*********.com";
> > # Connect to the server
> > my $smtp = Net::SMTP->new($ServerName);
> > die "Couldn't connect to server" unless $smtp;
> > 
> > 
> > Error Message : Couldn't connect to server at smtp.pl line 7.
> 
> Ok, so is this server reachable?
> 
> What happens if you do a --
> 
>     telnet *********.com 25
> 
> -- ? Does it respond? Can you hit enter a couple of times, then type 
> "HELO" to establish a SMTP conversation? 
> 
> If not, then the script is faithfully reporting to you that the SMTP 
> server you want to use does not seem to be available.
> 
> If you can connect, and issue commands, then something else is going on.
>  
> 
> 
> -- 
> Chris Devers
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to