Hi Chris

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.

Thanks
Anish

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


> On Thu, 16 Sep 2004, Anish Kumar K. wrote:
> 
> > The SMTP [programs] are not working on my windows environment. I am 
> > using Active [Perl] 5.8.
> > 
> > please let me know whether I need to install SMTP module, if 
> > so where I can find the module for windows.
> > 
> > Do I need to have SMTP server also..
> 
> It would help tremendously to know what you're doing. 
> 
> Please show the list the code that isn't working.
> 
> Only then can we try to help you work through this.
> 
> 
> (Also, "Perl" is the language, "perl" is the program that executes 
> scripts written in the language, and "PERL" is not a word.)
> 
> 
> 
> -- 
> 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>


Reply via email to