in reply to Sending mail in windows

Mail::Sendmail has worked wonders for me, that's what I would recommend to anyone else who comes up against this problem. I don't even think I'll ever use sendmail on Unix again, Mail::Sendmail is just that easy.

Replies are listed 'Best First'.
Re: Re: Sending mail in windows
by Anonymous Monk on Aug 09, 2002 at 14:39 UTC
    This work well with winNT... but not with win2000. I don't know why! <CODE>

    $sObjMail = Win32::OLE->new('PAINET.MAILMSG');

    $sObjMail->SetFrom("From\@me");

    $sObjMail->AddTo("To\@you");

    $sObjMail->SetSubject("A mail");

    $sObjMail->SetBody("Hello");

    $sObjMail->Deliver();