Rename Attachement and forward

M

mrbalaje

Hello,

I need to rename the attachement from a particular incoming mail and forward
the mail to another email id. Is it possible through VBA in Outlook.

Please help!
 
M

Michael Bauer [MVP - Outlook]

The Forward function returns a new MailItem. Call the attachment's
SaveAsFile method and give it the file name you want it to be. Then remove
the attachment from the forward and add it from your file system again.

--
Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Mon, 26 Nov 2007 20:19:01 -0800 schrieb mrbalaje:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top