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 reply to Re: OUTLOOK new mail with attachment
by harryC
in thread OUTLOOK new mail with attachment
by harryC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |