Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: MS Outlook & Win32::OLE

by SageMusings (Beadle)
on Apr 10, 2001 at 03:20 UTC ( [id://71203]=note: print w/replies, xml ) Need Help??


in reply to MS Outlook & Win32::OLE

Bodhisatvas,

Thank you for your wisdom. I found a VB script and translated it. Here it is, without any error checking:

use Win32::OLE; $mail = new Win32::OLE('Outlook.Application'); $mail->{'Visible'} = 1; $item = $mail->CreateItem(0); $item->{'Subject'} = "This is a test"; $item->{'To'} = "mccoyga\@1fssg.usmc.mil"; $item->{'Body'} = "Here is the meat of the message"; $item->Send(); $mail->Quit();
Again, your time and effort is most appreciated. May I reincarnate to your level, some day.

Replies are listed 'Best First'.
Re: Re: MS Outlook & Win32::OLE
by Anonymous Monk on Nov 21, 2003 at 00:12 UTC
    Can someone lend me some advice on how to get the meat from an array into the Body ? $item->{'Body'} = "Here is the meat of the message"; I can't seem to get the syntax to work on : $item->('Body') = @BODY; or $item->('Body') = print @BODY; Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found