http://qs1969.pair.com?node_id=180977


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 <your@address.com>', # To address.. From => 'Me <my@address.com>', # 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.

    -Brian