rhubarbpie has asked for the wisdom of the Perl Monks concerning the following question:
The output and error are as follows:use strict; use warnings; use MIME::Lite; my $msg = MIME::Lite->new( From =>'bob@gmail.com', To =>'bob@gmail.com', Subject =>'test' ); MIME::Lite->send('smtp', 'smtp.googlemail.com', Port=>'465', Timeout=> + 60, Debug=>1, AuthUser=>'bob', AuthPass=>'123456'); $msg->send();
MIME::Lite::SMTP>>> MIME::Lite::SMTP MIME::Lite::SMTP>>> Net::SMTP(2.29) MIME::Lite::SMTP>>> Net::Cmd(2.26) MIME::Lite::SMTP>>> Exporter(5.58) MIME::Lite::SMTP>>> IO::Socket::INET(1.29) MIME::Lite::SMTP>>> IO::Socket(1.29) MIME::Lite::SMTP>>> IO::Handle(1.25) MIME::Lite::SMTP=GLOB(0x840770c): Timeout at /usr/lib/perl5/site_perl/ +5.8.8/MIME/Lite.pm line 2865 SMTP Failed to connect to mail server: Bad file descriptor at Monks.prl line 14
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bad file descriptor with mail to Gmail using MIME::Lite.
by Anonyrnous Monk (Hermit) on Jan 13, 2011 at 00:29 UTC | |
by rhubarbpie (Novice) on Jan 13, 2011 at 18:56 UTC | |
by Anonyrnous Monk (Hermit) on Jan 13, 2011 at 19:23 UTC | |
by rhubarbpie (Novice) on Jan 13, 2011 at 22:31 UTC | |
|
Re: Bad file descriptor with mail to Gmail using MIME::Lite.
by zentara (Cardinal) on Jan 13, 2011 at 15:23 UTC | |
by rhubarbpie (Novice) on Jan 16, 2011 at 19:12 UTC |