Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Sent Time missing in PST file

$
0
0
Hello Team,

I have to convert MBOX file to PST file. But after creating PST file , Sent Time is missing. It is saying none. I am using Aspose MboxrdStorageReader for reading on Mac OS X 10.10.3(JAVA Lang.). Please refer below code.

********  Source Code  *******  

MboxrdStorageReader  objMBOXReader = null;

MapiMessage f_objMapiMessage = null;


try
{

objMBOXReader = new MboxrdStorageReader(this.m_StrSourceFilePathtrue);


int f_intMailCount = 0;


  while ((f_objMailMessage = objMBOXReader.readNextMessage()) != null //iterate mails

    {

try

{

    f_intMailCount++;

    f_objMapiMessage= MapiMessage.fromMailMessage(f_objMailMessage);


  f_Inboxfolder = f_ObjPersonalStorage.getRootFolder().getSubFolder("Mails");


 f_Inboxfolder.addMessage(f_objMailMessage);

        }

        catch(Exception pObj)

        {

    pObj.printStackTrace();

        }


    }//end of while loop




 }//end of outer try

 catch(Exception pObj)

 {

     pObj.printStackTrace();

 }


Please see PST file after open it in microsoft outlook.



Viewing all articles
Browse latest Browse all 1367

Latest Images

Trending Articles



Latest Images