Adding UserProperties to Item Result in Attachment not showing in Outlook

K

Kwan Thean Keong

Hi,
I have written some codes in VB whereby it will add UserProperties into
MailItems the moment it is being opened and set some values into it.

The code example is as below:

Public Function uf_add_properties(arg_mailitem As MailItem) As Long
Dim l_udf As UserProperty

Set l_udf = arg_mailitem.UserProperties.Add("UDF_1", olYesNo)
End Function


Being successful in adding the userproperties to my mailitem ,
then i proceed with testing my code by sending an email with a bmp
attachment to my recipient of Outlook Express. Unfortunately Outlook
Express recipient could not see my attachment at all.

When i remove my code (which resulted in the UserProperties not being
added), the attachments issues does not arise.

Is there any complications with sending attachments to Outlook Express
if we have UserProperties being added into a mail item?

I have being told that Modified Form or One Off Form might have such
symptoms but since i added the UserProperties through runtime, does it
still being considered a One Off Form ?

I am using MS Outlook 2000 SP3 (9.0.0.6627) and my mail configuration
is Internet Mail

Thanks
Kwan
 
S

Sue Mosher [MVP-Outlook]

Yes, the complication is the same as with a custom form: After an item is modified with custom properties, Outlook transmits that property information in a Winmail.dat file and also wraps any attachments into that file, which only another Outlook client can open. Either add the properties after the item arrives in the Sent Items folder or mark the address of any non-Outlook recipient for plain text only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top