harryC has asked for the wisdom of the Perl Monks concerning the following question:
I only want to start outlook on de screen not in the background. Create a new mail and add a attachment.So that the user can fill in the addresses,subject and the mail content and send the mail from the screen.The same as in OpenOffice send document as attachment.How do i do this ?I looked around and always find code which sends mail in the background.Thks for your help HarryC
my $Outlook = Win32::OLE->GetActiveObject ('Outlook.Application') || Win32::OLE->new('Outlook.Application'); $Outlook->{'Visible'} = 1;
does not workWin32::OLE(0.1709) error 0x8002000e: "Ongeldig aantal parameters" in PROPERTYPUT "Visible" at D:\scripts\outlooktest.pl line 11
Thks for your help HarryC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OUTLOOK new mail with attachment
by harryC (Sexton) on Dec 11, 2012 at 11:41 UTC | |
|
Re: OUTLOOK new mail with attachment
by Anonymous Monk on Dec 11, 2012 at 09:38 UTC |