Re: Use perl for MS Outlook plugin?
by g00n (Hermit) on Jan 21, 2004 at 01:08 UTC
|
what are you trying to achieve?
since there's not a lot of information how you might attempt this with perl have a look at how Mark Hammond wrote some Outlook plugin code (using windows extensions - win 32 com) for spambayes using *shhh*python*shhh*. Not in Perl but you can at least see how it can be done using COM.
try the CPAN win32 category for suitable modules
google returns some interesting examples... but nothing conclusive.
| [reply] |
Re: Use perl for MS Outlook plugin?
by barbie (Deacon) on Jan 21, 2004 at 13:07 UTC
|
You might be interested in my work-in-progress module Mail::Outlook that is available from the Birmingham Perl Mongers modules page. The version there is now the current version, as I've been tidying up code quite a bit recently, but it should give you plenty to go on.
If you have any specific requirements that aren't covered with this module, please let me know. I hope to have it ready to upload to CPAN soon.
link update: Current version uploaded.
--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/
| [reply] |
Re: Use perl for MS Outlook plugin?
by b10m (Vicar) on Jan 20, 2004 at 20:26 UTC
|
I have no experience with such plugins, for I have never even used MS Outlook, but besides that, you give very little information of what this plugin is supposed to do. I could think of things from blocking certain emails based on blacklists to enabling gnupg to encrypt and decrypt the emails. So, please be a little more specific.
Besides all that, I think there are quite a few modules listed at CPAN (see these link: Outlook, Win32::OLE). But then again, since I have no clue what you want, I can't be more specific.
| [reply] |
|
|
| [reply] |
|
|
| [reply] |
Re: Use perl for MS Outlook plugin?
by Roger (Parson) on Jan 21, 2004 at 04:55 UTC
|
Just an idea, how about Visual Perl .NET from Active State, plus the following link: Building Outlook 2002 Add-ins with Visual Basic .NET? I know that link is about VB .NET, but should give an idea on how to write Outlook 2002 plug-in's in .NET.
Another idea is to write the plug-in (COM) in Visual C++ and embed Perl interpreter in it. A lot of work but could be worth the effort.
| [reply] |
Re: Use perl for MS Outlook plugin?
by gmpassos (Priest) on Jan 20, 2004 at 21:38 UTC
|
Maybe you need to make a bridge between Outlook and Perl, or embed Perl in the plug-in. But the bridge is better, since you will be able to work with your own installation of Perl.
The problem is that I, and the other monks that answered you until now, don't know how is the interface of outlook for plug-ins.
Soo, if you can show us how is this interface will be easier to find a solution.
Graciliano M. P.
"Creativity is the expression of the liberty".
| [reply] |
Re: Use perl for MS Outlook plugin?
by gellyfish (Monsignor) on Jan 21, 2004 at 09:50 UTC
|
Judging from the documentation it appears that the Outlook PLugin is a COM component, it is possible to create these in Perl - one way is described in Re: Windows COM Component?. The only possible drawback I can foresee is that you have to implement the IDTExtensibility2 interface and I am not quite sure how you would do this in a script component.
/J\
| [reply] |
Re: Use perl for MS Outlook plugin?
by mattr (Curate) on Jan 21, 2004 at 03:37 UTC
|
I definitely want to do this too. For two reasons, one is antispam and another more pressing is for a piece of collaboration software.
I will look around too, if you find anything out please let me know!
Matt R.
mattr nospamat telebody nospamdot com | [reply] |
Re: Use perl for MS Outlook plugin?
by Wally Hartshorn (Hermit) on Jan 20, 2004 at 20:07 UTC
|
Nothin' on C-SPAN? Hmm... Try CPAN. :-)
(Sorry, I have nothing more useful to add.)
Wally Hartshorn
(Plug: Visit JavaJunkies, PerlMonks for Java)
| [reply] |