W
wlan
Hi,
I want to print an e-mail from inspector window. When I do the same using
the below code. it invokes Save As dialog.
OUTLOOKLib.NameSpace nms = m_oApp.GetNamespace("MAPI");
Redemption.RDOSession rdoSession = new
Redemption.RDOSession();
rdoSession.MAPIOBJECT = nms.MAPIOBJECT;
//entryID & storeID is non-empty
if (entryID != "" && storeID != "")
{
//get RDOMail object and initiate print action
Redemption.RDOMail rdoMail =
rdoSession.GetMessageFromID(entryID, storeID, false);
rdoMail.MessageClass = mi.MessageClass;
rdoMail.DoAction(Redemption.rdoMessageAction.maPrint,
User32.GetForegroundWindow());
}
What would be the issue?
I want to print an e-mail from inspector window. When I do the same using
the below code. it invokes Save As dialog.
OUTLOOKLib.NameSpace nms = m_oApp.GetNamespace("MAPI");
Redemption.RDOSession rdoSession = new
Redemption.RDOSession();
rdoSession.MAPIOBJECT = nms.MAPIOBJECT;
//entryID & storeID is non-empty
if (entryID != "" && storeID != "")
{
//get RDOMail object and initiate print action
Redemption.RDOMail rdoMail =
rdoSession.GetMessageFromID(entryID, storeID, false);
rdoMail.MessageClass = mi.MessageClass;
rdoMail.DoAction(Redemption.rdoMessageAction.maPrint,
User32.GetForegroundWindow());
}
What would be the issue?