Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Sending mail in windows

by jdavidboyd (Friar)
on Jul 11, 2002 at 09:28 UTC ( #180977=note: print w/replies, xml ) Need Help??

in reply to Sending mail in windows

Mail::Sendmail works very well for me. I've used it in Windows with no problems.

Replies are listed 'Best First'.
Re: Re: Sending mail in windows
by LTjake (Prior) on Jul 11, 2002 at 12:28 UTC
    I also use Mail::Sendmail. Here's a snippet:

    use Mail::Sendmail; # Create the message hash my %mail = ( To => 'You <>', # To address.. From => 'Me <>', # From address.. Message => 'Hello, world!', # The message body.. Smtp => 'your.mail.server' # erase this if you want to use "loc +alhost" (default) ); # Send the message unless (sendmail(%mail)) { # Error! } # All is well.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-05-26 15:40 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (93 votes). Check out past polls.