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
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 t
prompt.
>
> Ken
> -Original Message-
> From: Steven Manross []
> Sent: Tuesday, January 03, 2006 5:18 PM
> To: LeFevre, Ken;
> Subject: RE: Win32::Ole (MAPI) and Win2K scheduler
>
>
> Replace :
>
> die "Oops, cannot start Outlook";
>
>
PROTECTED]
Sent: Tuesday, January 03, 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 "Oo
evre, Ken
Cc: perl-win32-users@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.
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
W
is throwing (and refine the
possible solutions 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
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
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::IM
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 passw
Hello, I almost finished a script to delete old msgs
with MAPI, but first "$session->Logon" cause popup for password.
This box says "connecting OUR.EXCHANGE.SEVER".
The creator of Outlook Redemption says:
http://www.dimastr.com/redemption/
That is not an Outlook security
> my $date = $msg->{Datereceived};
I got it by:
my $date = $msg->{TimeReceived}->Date("MMdd");
I googled "MAPI" and got "DateReceived" first, is wrong.
By the way is there a good way to find the method I'm searching?
Here "Data::Dum
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";
Win32::OLE->Initi
using LDAP/ADO against the
exchange directory rather than MAPI - that seems more intuitive at first
glance?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_o
lemsg_session_object.asp (browse to the Logon method for a description of
profiles etc)
Kind regards,
Mark Anderso
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: http://listserv.A
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
> -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
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
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
cenza [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
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" o
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.
“Can’t call method “logon” on an
undefined value”
This is how I connect to the MAPI session.
use OLE
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 $outloo
e a few mods so 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
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 "Cr
the "$50,000" 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
ould like to take a look 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
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.
Ambi
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. Ho
29 matches
Mail list logo