Results 1 to 6 of 6

Thread: Attachment To MailItem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2004
    Posts
    297

    Attachment To MailItem

    Hi there,

    How do I put an attachment (which is a mailItem) into a MailItem Object?
    Like this:
    Dim oAttach As Outlook.Attachment
    Dim myOlMail As Outlook.MailItem
    For Each oAttach In myEmail.Attachments
    Set myOlMail = oAttach
    Next

    The problem here is that VB sees the attachment as an Attachment and not as a mailitem...
    Last edited by HWijngaarD; May 23rd, 2006 at 02:44 AM.

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