Strip attachments from Outlook
By: Lewis Cornick Date: 22/04/1998
File:

stripattachments.zip

Size:

509 bytes

Download now!

This function will strip all email attachments in Microsoft Outlook inbox and put them in a custom directory of your choice. Ovbiously you must have Microsoft Outlook installed in your system.

Syntax

StripAttachments(outputdir)

Parameters

outputdir: path of the directory to store the files in

Type of data

N/A

Returns

N/A

-

Example:

StripAttachments("C:\Temp\Attachments")

Note: before using the sub, yuo must add Microsoft Outlook DLL library to your project. Follow this steps:

  1. In VB choose References from the Project menu
  2. Check the line Microsoft Outlook 8.0 Object Library
  3. Click OK

The function is contained in a module. You can cut and paste it in any program of yours.

Click Here!


Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
Webmaster's e-mail: webmaster@vbprogzone.cjb.net
Hosted by InWind: www.inwind.it