Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

Comment on Re: OUTLOOK new mail with attachment
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2015-12-01 09:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (797 votes), past polls