![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi Guys
I am using outlook to send emails from my delphi application. Is there anyway to create a couple of custom fields (with code), just for specific messages so I can store some ID's of customers from my application in the mail so I can see when those mails are sent? Thanks Ian |
Ads |
#2
|
|||
|
|||
![]()
Use the Add method of the UserProperties collection.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ian Mackenzie" wrote in message ... Hi Guys I am using outlook to send emails from my delphi application. Is there anyway to create a couple of custom fields (with code), just for specific messages so I can store some ID's of customers from my application in the mail so I can see when those mails are sent? Thanks Ian |
#3
|
|||
|
|||
![]()
Thanks
I managed to do it like this: MailItem.UserPreferences.Add('ID', olText).Value := 'TestID'; newTestId := mailItem.UserPreferences('ID').value Thanks for your help... Ian "Ken Slovak - [MVP - Outlook]" wrote in message ... Use the Add method of the UserProperties collection. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Ian Mackenzie" wrote in message ... Hi Guys I am using outlook to send emails from my delphi application. Is there anyway to create a couple of custom fields (with code), just for specific messages so I can store some ID's of customers from my application in the mail so I can see when those mails are sent? Thanks Ian |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
search custom fields | student of science | Outlook - Using Forms | 2 | March 22nd 06 04:28 PM |
How do I map custom fields effectively? | George Kirby | Outlook - Using Forms | 1 | March 9th 06 12:28 PM |
Fields on custom forms are not kept after message is sent | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 2 | February 6th 06 10:06 PM |
Custom Task Fields | Milly Staples [MVP - Outlook] | Outlook - General Queries | 0 | January 7th 06 06:07 PM |