Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: MS Outlook & Win32::OLE

by MeowChow (Vicar)
on Apr 10, 2001 at 03:03 UTC ( [id://71197]=note: print w/replies, xml ) Need Help??


in reply to MS Outlook & Win32::OLE

Perhaps this will help - I found it gathering dust on my hard drive:
use strict; use Win32::OLE; use Win32::OLE::Const; my $text = "Test message text"; my $m_ses = Win32::OLE->new('MSMAPI.MAPISession'); my $m_msgs = Win32::OLE->new('MSMAPI.MAPIMessages'); $m_ses->SignOn; $m_msgs->{SessionID} = $m_ses->{SessionID}; $m_msgs->Compose; $m_msgs->{MsgSubject} = "blargh"; $m_msgs->{MsgNoteText} = $text; $m_msgs->{AttachmentName} = 'bolbus flowerius'; $m_msgs->{AttachmentPathName} = 'C:\boot.ini'; $m_msgs->Send(1);
   MeowChow                                   
               s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://71197]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-16 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found