K
k4fu
if im moving a mailitem to an other folder on one system the receive time of
the mailItem changes to the current date; Why???
i cant reproduce this problem on other machines with same system;
does anyone know how to solv this problem?
public bool bOrdnerFound = false;
public Ol.MAPIFolder oFoundFolder = null;
public void verschiebeMail(Ol.MailItem oMailItem, string sOrdner)
{
Ol.NameSpace objNS;
Ol.Folders oFolders;
try
{
objNS = myApplication.GetNamespace("MAPI");
oFolders = objNS.Folders;
bOrdnerFound = false;
oFoundFolder = null;
//gets the folder
gotoFolder(oFolders, sOrdner.Substring(1));
if (oFoundFolder != null)
oMailItem.Move(oFoundFolder);
}
catch (Exception ex)
{
System.Diagnostics.Debug.Write(ex.Message);
MessageBox.Show(ex.Message);
}
}
the mailItem changes to the current date; Why???
i cant reproduce this problem on other machines with same system;
does anyone know how to solv this problem?
public bool bOrdnerFound = false;
public Ol.MAPIFolder oFoundFolder = null;
public void verschiebeMail(Ol.MailItem oMailItem, string sOrdner)
{
Ol.NameSpace objNS;
Ol.Folders oFolders;
try
{
objNS = myApplication.GetNamespace("MAPI");
oFolders = objNS.Folders;
bOrdnerFound = false;
oFoundFolder = null;
//gets the folder
gotoFolder(oFolders, sOrdner.Substring(1));
if (oFoundFolder != null)
oMailItem.Move(oFoundFolder);
}
catch (Exception ex)
{
System.Diagnostics.Debug.Write(ex.Message);
MessageBox.Show(ex.Message);
}
}