attached contact item is received as mail item 
Author Message
 attached contact item is received as mail item

outlook 98

the following problem also occurs when attempted manually from the GUI

in code, i create a contact item, attach it to a mail item, send the mail
item.

  Set OutlookMailItem = OutlookApplication.CreateItem(olMailItem)
  Set OutlookContactItem = OutlookApplication.CreateItem(olContactItem)
  OutlookMailItem.Attachments.Add OutlookContactItem, olByValue
  OutlookMailItem.Send

before it is sent, if i make a copy of the mail item and move it to a
neutral folder and examine the mail item, it's attachment is clearly of type
contact item (double-clicking it shows a contact item in the default view)

however, once the mail item arrives on the client, its attachment is now
interpreted as a mail item (envelope icon) , with very poor results (double
clicking the attachment shows that the contact item's fields have been
mapped onto a mail item -- with only the Body property actually showing up
as the mail item's text)



Mon, 27 May 2002 03:00:00 GMT  
 attached contact item is received as mail item
you might have more luck in
microsoft.public.outloook.program_vba

--
Will Rickards [MVP Word]
Software Engineer
http://members.home.net/wrickard

Please post ALL replies/requests to the newsgroup for the benefit of the newsgroup.
disclaimer: Use of any information/code provided is at your own risk.
My e-mail address has been modified to prevent ****.

Quote:

> outlook 98

> the following problem also occurs when attempted manually from the GUI

> in code, i create a contact item, attach it to a mail item, send the mail
> item.

>   Set OutlookMailItem = OutlookApplication.CreateItem(olMailItem)
>   Set OutlookContactItem = OutlookApplication.CreateItem(olContactItem)
>   OutlookMailItem.Attachments.Add OutlookContactItem, olByValue
>   OutlookMailItem.Send

> before it is sent, if i make a copy of the mail item and move it to a
> neutral folder and examine the mail item, it's attachment is clearly of type
> contact item (double-clicking it shows a contact item in the default view)

> however, once the mail item arrives on the client, its attachment is now
> interpreted as a mail item (envelope icon) , with very poor results (double
> clicking the attachment shows that the contact item's fields have been
> mapped onto a mail item -- with only the Body property actually showing up
> as the mail item's text)



Fri, 07 Jun 2002 03:00:00 GMT  
 attached contact item is received as mail item
they dont know the answer.


Sun, 09 Jun 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. attached Contact Item on server-side becomes attached Mail Item on client-side

2. Attach Reference to Contact Item to Mail Message

3. Contact Item doesn't attach: no error

4. Outlook 2002 VBA to Forward E-Mails Received w/out Saving to Sent Items

5. Saving a received mail item only

6. find contacts of mail item

7. Adding Menu item to the Mail item menu from an outlook Addin

8. Adding Menu item to the Mail item menu from an outlook Addin

9. Changing from mail-item to task-item

10. How .Items(5) + .Items.Item(5) ?

11. How to retreive and treath a file attached to a mail receive in outlook

12. create an e-mail mailing from a folder containing tasks items

 

 
Powered by phpBB® Forum Software