Custom Mail Fields

I

Ian Mackenzie

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
 
I

Ian Mackenzie

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
 
Top