PC Review


Reply
Thread Tools Rate Thread

Adding UserProperties to Item Result in Attachment not showing in Outlook

 
 
Kwan Thean Keong
Guest
Posts: n/a
 
      12th Apr 2005
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

 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      12th Apr 2005
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.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Kwan Thean Keong" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> 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
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
print sent item showing attachment name only, not icon =?Utf-8?B?SGFuc2dlZWs=?= Microsoft Outlook Discussion 0 26th May 2006 10:25 PM
Problem with setting Outlook item userproperties KeithXP Microsoft Outlook VBA Programming 4 14th Apr 2006 02:01 PM
Adding UserProperties to Outlook Mail Result in Attachment not showing in Outlook Express TheanKeong Microsoft Outlook Program Addins 1 13th Apr 2005 07:49 PM
Note Item UserProperties in Outlook 2000 Leon Microsoft Outlook Program Addins 8 16th Aug 2004 07:36 PM
Adding an Item to a Query Result Chaplain Doug Microsoft Access Queries 2 1st Mar 2004 03:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 AM.