in reply to Multiple attachments Outlook

You should get into the habit of using '/' forward slashes when ever you code even in windows...

Your error is here...

@attach = ( "H:\\Scripts\Chandras reports\\Limit Increase(M) 072005.xls", # ----------^, should be '\\' "H:\\Scripts\\Chandras reports\\Limit Increase(D) 072005.xls" );
Although there is nothing wrong with you code, I would write it different. If you can send via Out Look, you can send via SMTP or HTTP through Perl. Also note, any Personal type OLE object (office) created in Perl is not always released when the your script exists.

Sonia

Replies are listed 'Best First'.
Re^2: Multiple attachments Outlook
by Anonymous Monk on Aug 29, 2005 at 17:23 UTC
    Thanks guys for all ur help.. I really appreciate it. I got it to finally work with everyones help.