Bypass Field Name Restriction for MailItem.UserProperties 
Author Message
 Bypass Field Name Restriction for MailItem.UserProperties

Hi,

while working with a MailItem before Sending it I cant solve the following
problem:
I want to Add a UserProperty to the Outgoing Mail, like shown below. This is
no Problem unless I Use a
Field Name which includes a _,[ or ]. The same Problem appears in
VBSrcipt -> Designig  a Form -> New User-defined Field -> NEW.

Q. Is there a way to add a Field to the Mail using any Name?

*****************
Code:
 Set objMailItem = objMailItem.UserProperties.Add("WHAT_EVER_NAME", olText)
*****************

Thanks for help.

P.S. I appreaciate any Solution hint, no matter how difficult.



Fri, 02 Jan 2004 22:04:57 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Can I send MailItem.UserProperties over SMTP?

2. mailitem UserProperties

3. UserProperties names in the immediate window

4. Write to a UserProperties Field

5. UserProperties and Fields

6. Writing to UserProperties fields

7. CDO Fields vs. Outlook UserProperties

8. IP Address and Domain Name Restrictions

9. (Q) Field Size restrictions in Crosstab query

10. Getting oroginal mailitem to a reply mailitem.

11. Set MailItem fields with the NewInspector Event

12. Siegfried: Search Mailitems by Custom Fields

 

 
Powered by phpBB® Forum Software