Hi,
There is bug in u r 3.2 version mobile dll.
this is done when new message arrives and event has to fire. Event fires, changes in the subject on opening gwes.exe error.
Here is the following code.
OutlookSession session = new OutlookSession();
session..MessagingItemCreated += new MessagingItemEventHandler(messagingItemCreated);
public void messagingItemCreated(object sender, MessagingItemEventArgs e)
{
try
{
System.Threading.Thread.Sleep(3000);
EmailMessage em = (EmailMessage)session.GetItemByItemId(e.ItemId);
if (isFromSubject(em.From.Address))
{
if (em.Subject.IndexOf(objConfig.rootElement) == -1)
{
updateSubjectEmail(em, session);
}
}
}
catch (StackOverflowException se)
{
MessageBox.Show("StackOverflowException : " + se.StackTrace);
}
finally
{
GC.Collect();
}
}
when i am update the email message with "xyz: subject of email" .
I am getting stack overflow exception.
here the in the subject "xyz"+subject of email is converted.
when i opened the email , it is giving the gwes.exe error.
this error is generated by the 3.2 dll
where the Importance,size,subject and Sensitivity these four are going in stack overflow exception.
try to figure out this.
Thank you,
Ajay Kumar R