Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Error in MIME::Lite

by afoken (Chancellor)
on Jun 25, 2016 at 14:15 UTC ( #1166556=note: print w/replies, xml ) Need Help??


in reply to Re: Error in MIME::Lite
in thread Error in MIME::Lite

Is sendmail installed?

Unlikely on Windows.

Maybe use smtp?

Yepp, that's the way MIME::Lite works on Windows. Recent versions should auto-detect a missing sendmail executable, IIRC.

See the docs.

Adding MIME::Lite->send("smtp", $mailserver); or MIME::Lite->send("smtp", $mailserver, AuthUser => $username, AuthPass => $password); before creating or using any MIME::Lite object should do the trick.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-12-02 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?