I have a requirement of copying a mail from one NSF to another nsf file. Here first i created replica of database(nsf), Then i tried different way of copying mail.
like 1. using CreateDocument API and then move it to speciified folder.
2. Creating new mail(Document) then adding each item one by one. And Bosy of the message added using RichText . then also am loosing my mail format. Means if there is any attachment, after copying it will loose its icon. Body format will be not in proper way. And also mail size ( In Form ) will be decreased. Please let me know what mistake am doing.