
gauri_agr
Novice
Apr 12, 2009, 12:13 PM
Post #12 of 16
(1634 views)
|
|
Re: [KevinR] unable to get the function mail in Net:smtp
[In reply to]
|
Can't Post
|
|
I have enabled the module debugging also added these lines as suggested and getting the following error $ perl -d send.pl -W Loading DB routines from perl5db.pl version 1.3 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main: send.pl:8): my $server='mail.yahoo.com'; DB<1> n main: send.pl:9): my $smtp = Net::SMTP->new($server, Debug => 1) or die("F ailed to connect to $server: $!"); DB<1> n Failed to connect to mail.yahoo.com: Unknown error at send.pl line 9. at send.pl line 9Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info.
|