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

Re: OUTLOOK new mail with attachment

by harryC (Sexton)
on Dec 11, 2012 at 11:41 UTC ( #1008279=note: print w/replies, xml ) Need Help??


in reply to OUTLOOK new mail with attachment

found is myself after hours op looking and is was so easy

my $outlook = new Mail::Outlook(); # create a message for sending my $message = $outlook->create(); $message->To(' '); $message->Cc(' '); $message->Bcc(' '); $message->Subject(' '); $message->Body(' '); # attachments are appended $message->Attach("$home_dir\\test.pdf"); # so multiple calls ar +e allowed $message->display;

you must have ' ' otherwise it does not work rgds HarryC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008279]
help
Chatterbox?
[jedikaiti]: Yea, the kids (& the cats) are good at that
talexb is having a hard time with Windows losing DNS info for Perlmonks when voting. CB works fine. Ugh.
[jedikaiti]: how odd

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-07-25 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (374 votes). Check out past polls.