Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor"

by olus (Curate)
on Mar 19, 2009 at 23:23 UTC ( [id://751904]=note: print w/replies, xml ) Need Help??


in reply to MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor"

Maybe two things. Not having sendmail installed and not having read the module's full documentation.

If you have a server that can send mails for you, there is the send_by_smtp method to which you can specify that server's name.

my $mailer = 'hostname'; $msg->send_by_smtp($mailer); # do some error checking

Replies are listed 'Best First'.
Re^2: MIME::Lite returns "SMTP Failed to connect to mail server: Bad file descriptor"
by vit (Friar) on Mar 20, 2009 at 12:47 UTC
    /* Not having sendmail installed */

    how to check/install sendmail?
    and I guess I am not using it or I am mistaken?

      I recommend the second approach first, simply reading and understanding the module documentation. It explains the module defaults and what to do on Windows.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://751904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2025-06-23 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.