Results 1 to 2 of 2

Thread: Outlook - Checking Attachment Type

  1. #1

    Thread Starter
    Addicted Member cellus205's Avatar
    Join Date
    Dec 2010
    Location
    San Antonio, TX
    Posts
    237

    Outlook - Checking Attachment Type

    Hey Guys,

    Im using Outlook Automation to parse through a PST file, and Im having trouble checking attachment types. Im attempting to check the attachment to see if it is a MailItem, but its not working, heres the syntax that I'm using.

    Any suggestions?

    Thanks

    Code:
    Dim msgAttch As Outlook.Attachment
    If msgAttch.Class = Outlook.OlObjectClass.olMail Then
        'Check MailItem
    End If

  2. #2

    Thread Starter
    Addicted Member cellus205's Avatar
    Join Date
    Dec 2010
    Location
    San Antonio, TX
    Posts
    237

    Re: Outlook - Checking Attachment Type

    anyone have any idea how to do this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width