Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Setting "from" in creating a ".msg" file
Juanki
Hi all,
I'm developing a program that migrate emails from Lotus Notes to Worksite. I get all the data from the original email, I create a new ".msg" file and I make the checkin of the created file into Worksite. This works fine.
Well, the problem is that I can't set the From and the Date fields in the new ".msg".
Does anybody know how to do this?
Thank you in advance,
Juan Carlos Martín
Note: My client needs this type of files and these fields completed. I'm using the Interop.OLXLib and Interop.Outlook libraries.
Find more posts tagged with
Comments
jny
Prior to your CheckIn call, Call the SetAttributeByID (SDK 8.x) or SetAttributeValueByID (SDK pre-8.x) to set the CUSTOM13/CUSTOM14/CUSTOM15/CUSTOM16 fields for FROM/TO/CC/BCC respectively. The custom date fields that you can set are CUSTOM22/CUSTOM23/CUSTOM24 fields.
[VB6] '8.x
' Assuming doc is a valid handle to a document object
doc.SetAttributeByID imProfileCustom13, "MyValue"
doc.SetAttributeByID imProfileCustom22, Now
actual.pdf
sample.pdf
Juanki
Sorry for the delay, I`ve been involved in other matters.
It' works fine.
Thank you very much,
Juanki