MailItem.Send doesn't send & close inspector

Add-in Express™ Support Service
That's what is more important than anything else

MailItem.Send doesn't send & close inspector
 
Peretz Rickett




Posts: 3
Joined: 2007-05-17
If one were to click on the send button, the mail item would send and the inspector would close. This is what I would expect to happen by using the MailItem.Send() method as well, but no dice. How can I accomplish this programmatically?
Posted 17 May, 2007 04:35:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Peretz.

Do you release the MailItem interface after the Send method is called?
E.g.

Try
{
......
MailItem.Send();
......
}
Finally
{
If (MailItem != null)
Marshal.ReleaseComObject(MailItem);
}

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 17 May, 2007 07:12:41 Top
Peretz Rickett




Posts: 3
Joined: 2007-05-17
yes
Posted 17 May, 2007 08:16:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Peretz.

I have just sent you the project.
Posted 18 May, 2007 10:37:08 Top