A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

update xheader of received message



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old October 17th 07, 03:07 PM posted to microsoft.public.outlook.program_vba
sd[_2_]
external usenet poster
 
Posts: 69
Default update xheader of received message

hi
I've added xheader(Matter) to message using Redemption.Now On receving
end I extract
my xheader using redemption(by means of PR_TRANSPORT_MESSAGE_HEADERS)
& display the
xheader value in combobox control placed on form region adjoined to
read message.The user
can modify the text of combobox & when save command bttn on the same
form region
is pressed the modified value needs to be reflected in the xheader of
that message.
I was able to add xheader to outgoing message & at receiving end
extracted & displayed
it but not able to update the xheader with user modified value.Do I
need to modify
PR_TRANSPORT_MESSAGE_HEADERS or use the same code of addXheader i.e.
sItem = CreateObject("Redemption.SafeMailItem")
sItem.Item = MailItem
Tag = sItem.GetIDsFromNames("{00020386-0000-0000-
C000-000000000046}", Prop)
Tag = Tag Or &H1E 'the type is PT_STRING8
sItem.Fields(Tag) = Val
sItem.Subject = sItem.Subject
sItem.Save()

Thanks

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Received eMail Message Not Showng pmitch Outlook Express 1 September 9th 07 10:46 AM
macro to update excel when email received into outlook folder [email protected] Outlook and VBA 1 July 17th 07 09:42 PM
I received the message"this file can Minneapois Outlook - Calandaring 0 October 30th 06 06:06 PM
No sound when message received ChelseaWarren Outlook Express 3 August 21st 06 01:32 PM
Message received by recipient not clear carlo Outlook Express 4 July 1st 06 09:25 PM


All times are GMT +1. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.