Tag: outlook redemption

在64位计算机上使用Redemption dll(Outlook)

我有一个我在我的32位机器上安装的exe,它通过登录用户Inbox循环并且工作正常,(NB我还没有让它为另一个用户工作( 见这里 )任何想法也会受到赞赏!) 。 但是当我在64位服务器上安装它时,我收到此错误: Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 80004005. 我在服务器上注册了Redemption dll( 见这里 )。 我已经完成了这个运行-c-app-32位的64位机器 NB。 类id似乎是Redemption.RDOSession ( 见这里 )

从我的AddIn调用第三方Outlook AddIn-Button

我正在寻找创建一个AddIn for outlook,当一个邮件项目被添加到某个文件夹时,它将调用来自另一个第三方addIn的附加和转发function,但是我不知道如何找到这个按钮以便调用它。 收件箱屏幕上显示所需的按钮(当左下角选择邮件时),但是当打开邮件(双击)时,下拉菜单中显示所需的按钮,这是结构。 突出显示的是所需的function。 如何为特定的邮件项调用此函数我发现Redemption Library似乎很有用,但不确定如何完全应用它。 在Outlook 2013中调用function区按钮 这就是我到目前为止所拥有的。 看评论。 (来自@Dmitry Streblechenko的片段) private void ExecuteAttachAndForward() { Redemption.SafeInspector sInspector = new Redemption.SafeInspector(); sInspector.Item = Application.ActiveInspector().CurrentItem; Redemption.SafeRibbon Ribbon = sInspector.Ribbon; string oldActiveTab = Ribbon.ActiveTab; Ribbon.ActiveTab = “Home”; // is this the correct name of the tab? Redemption.SafeRibbonControl Control = Ribbon.Controls.Item(“Attach and Forward”); // how would I […]

使用Redemption(Outlook)与登录用户以外的用户 – 并获取错误

我正在使用Redemption dll( http://www.dimastr.com/redemption/ ),我创建了一个访问我的邮箱的exe。 我在我的用户名下运行Windows调度程序中的exe,它工作正常,我收到一封电子邮件发送给我(见下面的代码)。 当我将Scheduler中的runas用户名更改为其他人并尝试访问他们的邮箱时,我收到错误。 System.IO.FileLoadException static void Main(string[] args) { System.Diagnostics.Debugger.Break(); object oItems; //string outLookUser = “My Profile Name”; string outLookUser = “Other User Profile Name”; string ToEmailAddress = “abc.email@xyz.com”; string FromEmailAddress = “abc.email@xyz.com”; string outLookServer = “exchangeServer.com”; string sMessageBody = “\n outLookUser: ” + outLookUser + “\n outLookServer: ” + outLookServer + […]