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

Re: Re: Re(5): Creating entries in an Outlook Calendar

by lumina (Novice)
on Apr 26, 2002 at 16:52 UTC ( [id://162339] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Win32::OLE;
    ...
       }
    }
    
  2. or download this
           my $cal = new Win32::OLE('Outlook.Application');
           $cal->{'Visible'} = 1;
    ...
           $item->{'Start'} = "04/30/2002 12:00";
           $item->{'End'} = "04/30/2002 12:30";
           my $selectfolder = $namespace->Folders($Folder)->Folders($subfo
    +lder)->Items()->Add($item) or " **** can't add item";
    
  3. or download this
    #my $mail = new Win32::OLE('Outlook.Application');
    #$mail->{'Visible'} = 1;
    #my $item = $mail->CreateItem(0);
    ...
    #$item->{'Body'} = "Here is the meat of the message";
    #$item->Send();
    #$mail->Quit();