Re: Win32::Ole (MAPI) and Win2K scheduler

2006-01-05 Thread Rod Butcher
Christopher Taranto wrote: Hi Ken, Wednesday, January 4, 2006, 5:07:58 AM, you wrote: LK Thanks to Steven Manross, I'm a step further along in LK troubleshooting this. Using Steven's suggestion, I got the LK following from OLE-LastError: 'Win32::OLE(0.1403) error LK 0x80070005: Access is

RE: Win32::Ole (MAPI) and Win2K scheduler

2006-01-04 Thread LeFevre, Ken
, 2006 5:18 PM To: LeFevre, Ken; perl-win32-users@listserv.ActiveState.com Subject: RE: Win32::Ole (MAPI) and Win2K scheduler Replace : die Oops, cannot start Outlook; with open (FILE,c:\\outlookerror.txt); print FILE Oops, cannot start Outlook\n.Win32::OLE-LastError(); close (FILE); die Oops

Re: Win32::Ole (MAPI) and Win2K scheduler

2006-01-04 Thread DePriest, Jason R.
: Tuesday, January 03, 2006 5:18 PM To: LeFevre, Ken; Subject: RE: Win32::Ole (MAPI) and Win2K scheduler Replace : die Oops, cannot start Outlook; with open (FILE,c:\\outlookerror.txt); print FILE Oops, cannot start Outlook\n.Win32::OLE-LastError(); close (FILE); die Oops, cannot start

Re[2]: Win32::Ole (MAPI) and Win2K scheduler

2006-01-04 Thread Christopher Taranto
Hi Ken, Wednesday, January 4, 2006, 5:07:58 AM, you wrote: LK Thanks to Steven Manross, I'm a step further along in LK troubleshooting this. Using Steven's suggestion, I got the LK following from OLE-LastError: 'Win32::OLE(0.1403) error LK 0x80070005: Access is denied'. Does anyone out there

Win32::Ole (MAPI) and Win2K scheduler

2006-01-03 Thread LeFevre, Ken
I created a program using ActiveState's perl 5.8.4, compiled it using perlapp 5.3.0 and ran it on Windows 2000 Professional SP4 against Outlook 2000 SR-1 (9.0.0.3821). It runs properly both from a command prompt and as a scheduled task. I released it into production on Windows 2000 server

RE: Win32::Ole (MAPI) and Win2K scheduler

2006-01-03 Thread Steven Manross
to the problem). Steven From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LeFevre, Ken Sent: Tuesday, January 03, 2006 1:01 PM To: perl-win32-users@listserv.ActiveState.com Subject: Win32::Ole (MAPI) and Win2K scheduler I created a program using ActiveState's

Re: Win32::Ole (MAPI) and Win2K scheduler

2006-01-03 Thread Foo Ji-Haw
LeFevre, Ken wrote: I created a program using ActiveState's perl 5.8.4, compiled it using perlapp 5.3.0 and ran it on Windows 2000 Professional SP4 against Outlook 2000 SR-1 (9.0.0.3821). It runs properly both from a command prompt and as a scheduled task. I released it into production on

RE: Win32::Ole (MAPI) and Win2K scheduler

2006-01-03 Thread Steven Manross
@listserv.ActiveState.com Subject: Re: Win32::Ole (MAPI) and Win2K scheduler LeFevre, Ken wrote: I created a program using ActiveState's perl 5.8.4, compiled it using perlapp 5.3.0 and ran it on Windows 2000 Professional SP4 against Outlook 2000 SR-1 (9.0.0.3821). It runs properly both from a command prompt

RE: Logon with MAPI

2005-09-25 Thread h-taguchi
I gave up the MAPI script on login part. net use command had no effect for me. I rewrite my script using IMAP protocol, using Net::IMAP::Simple CPAN module, and it runs fine. I strongly feel this script is much easier. #!Perl use strict; use Net::IMAP::Simple; my $imap = Net::IMAP::Simple-new

Re: Logon with MAPI

2005-09-14 Thread Chris Wagner
I would deal with it by first issuing a net use \\server\ipc$. Not elegant but it should work. Ja. At 10:40 AM 9/13/05 +0900, [EMAIL PROTECTED] wrote: Hello, I almost finished a script to delete old msgs with MAPI, but first $session-Logon cause popup for password. This box says connecting

Deleting old mails by MAPI

2005-08-24 Thread h-taguchi
Hello, I'm making a script to delete mails older than 1 month. But I cann't get date recieved. Someone knows the way? I can get Subject, text, can delete msg but cann't... Regards, Hirosi Taguti [EMAIL PROTECTED] #!/usr/bin/perl use Win32::OLE; print COINIT_OLEINITIALIZE\n;

Perl and MAPI

2005-04-18 Thread steve silvers
Does anyone know how I can use perl to specify an outlook profile, and query the address book. Get a list of all names. Thanks in advance Steve ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe:

MAPI

2004-08-13 Thread Mike G
Hello, Anybody know what happened to the MAPI module? I am looking for a way in Perl to read messages in an Exchange email folder. Mike ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

What about Win32-MAPI?

2003-11-20 Thread Guillermo Lopez
Hi all, Does anybody know anything about Win32-MAPI? I can not find this module anywhere. Is there any 'known substitute'? I was trying to fetch Outlook messages from Perl. I did it with this module in the past and was pretty simple. Many thanks in advance Guillermo

RE: What about Win32-MAPI?

2003-11-20 Thread Guay Jean-Sébastien
I have been looking for it too, but no luck. The author seems to have dropped off the Earth, he doesn't reply to any mails and his site is down. The module is not available from CPAN either... You can use Win32-OLE to access the MAPI object model, but this is kludgy at best. I have made some

RE: What about Win32-MAPI?

2003-11-20 Thread Lynn. Rickards
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Guillermo Lopez Sent: Thursday, November 20, 2003 10:51 AM To: '[EMAIL PROTECTED]' Subject: What about Win32-MAPI? Hi all, Does anybody know anything about Win32-MAPI? I can not find

SV: MAPI

2003-07-30 Thread Kenneth Lodahl (KELO, ITRC, SH)
[mailto:[EMAIL PROTECTED] Sendt: 25. juli 2003 13:23 Til: Kenneth Lodahl (KELO, ITRC, SH); [EMAIL PROTECTED] Emne: RE: MAPI Kenneth Lodahl (KELO, ITRC, SH) wrote, on Friday, July 25, 2003 6:09 AM : I have a problem with MAPI. On my production server the script : is working like a charm, but on my test

Re: MAPI

2003-07-25 Thread Kenneth Lodahl (KELO, ITRC, SH)
Hi all, I have a problem with MAPI. On my production server the script is working like a charm, but on my test server this error message comes when the script is executed. Cant call method logon on an undefined value This is how I connect to the MAPI session. use OLE; use

RE: MAPI

2003-07-25 Thread Joseph Discenza
Kenneth Lodahl (KELO, ITRC, SH) wrote, on Friday, July 25, 2003 6:09 AM : I have a problem with MAPI. On my production server the script : is working like a charm, but on my test server this error message : comes when the script is executed. : Can't call method logon on an undefined value

RE: MAPI Messages From

2002-06-24 Thread David Fartouk
I managed to find that the MAPI support of perl is limited - we switched to OLE and Outlook and easily solved the problem Win32::OLE-Initialize(Win32::OLE::COINIT_OLEINITIALIZE); die Win32::OLE-LastError(),\n if Win32::OLE-LastError( ); my $outlook = Win32::OLE-new

more help required with attachments in win32-mapi

2002-01-14 Thread Paul Jansen
that I can actually get at the attachment? Here's the code: *** use Win32::MAPI qw(Yes No); my($obj)=new Win32::MAPI(Profile = 'ExchangeSA', Password = ''); $obj-Logon() || die Can't logon!; if ($obj-IsMAPI) { print \n MAPI is available

Sending mail using MAPI through Perl

2001-10-15 Thread IanCore
Can anyone shed any light on why I get the 'Can't use method Resolve on unblessed reference' when I run the following with Exchange. I don't get the problem when using Outlook?? use OLE; $LogonName = Ian Core; $LogonPasswd = undef; $ActiveSession = CreateObject OLE MAPI.Session || die

RE: Beautiful Code:RE: Perl MAPI attachment extraction script

2001-03-14 Thread Jeremy Blonde
at it. Thanks, Jeremy Blonde From: "Koshy,Mathew,RHODES,Information Services"[EMAIL PROTECTED] To: "'Jacob, Raymond A'" [EMAIL PROTECTED], Perl-Win32-Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: Beautiful Code:RE: Perl MAPI attachment extraction script Da

Re: Beautiful Code:RE: Perl MAPI attachment extraction script

2001-03-14 Thread Jeremy Blonde
; contract". This leads me to another question: I have looked at the new book by active state and the Learning Perl on Win32. Yet neither of these books has applications that I am interested in such as MAPI attachment extraction, or controlling MS Internet Explorer or the Program that Jan wrote in t

RE: Perl MAPI attachment extraction script

2001-03-13 Thread Gary MacDonald
Title: RE: Perl MAPI attachment extraction script Microsoft provided Exchange with an antivirus API beginning with 5.5 SP3. Although Microsoft doesn't supply an antivirus module itself, there are now officially supported hooks for the third-party antivirus software vendors to use. Ambitious

[Perl-win32-users] Access Outlook/Exchang through MAPI

2001-03-12 Thread Jeremy Blonde
Hi folks, I'm trying to create a Perl script that will extract attachments from Outlook (or Exchange depending on how you look at it) e-mails. From my understanding the code below is all I need to create the MAPI session. From the session, I can then gather the folders, messages, etc. However