in reply to Re: Sending mail in windows
in thread Sending mail in windows

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();