Re: Attachments via VB

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 11:26:40 -0700

That information is stored in the recipient table of an NDR message, not in
an attachment. You can access it using either Extended MAPI or Redemption.
Note that CDO 1.21 won't work as it does not provide access to the fields in
the recipients table.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Tom" <noholycowser21spam@ya_NoJunk_hoo.com> wrote in message
news:%234xNAq9TEHA.2908@TK2MSFTNGP10.phx.gbl...
> I am using a VB program to access certain propertys and their values for
> email messages. I am using "For Each objMessage In objMsgColl " to get
> access to the email message and then I get the value for each property. I
> would like to be able to collect the same information for each attachment
if
> the message has an attachment. Is this possible with VB?
>
> I am trying to get information from rejected emails. The attachment has
the
> original intended reciepient and the original sender. I need to record
> these and the error code. I will put them in a database. How do I get
> that data from an attachment? I know the property tag ID;s from using
> Dmitirys Spy. I dont seem to be getting the data from the attachments.
>
> Thanks for any help!
>
> Tom
>
>



Relevant Pages

  • Re: error message - server rejecting recipient
    ... > rejected the recipient." ... > message "Your email message was unable to be sent because your mail server ... contact your ISP for further assistance. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Create event in Outlook based on email message ?!?
    ... When I create an outlook event and add some recipient to it, ... is sent a specially formatted email message about that event that actually ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Display of full email address
    ... the email message, or about what the recipient sees when he ... details of recipients alongside the normal Display Nickname, ... Nickname; ...
    (microsoft.public.windows.vista.mail)
  • Undeliverable
    ... I sent a email with attachment to multiple users using ... I received a below email message. ... You do not have permission to send to this recipient. ... For assistance, contact your system administrator. ...
    (microsoft.public.exchange2000.general)

Loading