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
, 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
: 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
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
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
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
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
@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
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
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
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;
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:
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
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
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
-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
[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
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
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
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
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
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
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
; 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
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
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
26 matches
Mail list logo