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
|
---|
In Section
Seekers of Perl Wisdom