问题标签 [outlook-redemption]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1541 浏览

email - 使用 Redemption 检索默认 Outlook 电子邮件帐户

只是尝试使用 Redemption 解决问题;我有以下代码可以从默认配置文件中检索 RDOAccounts(电子邮件帐户):

我被困的地方是试图确定哪些 RDOAccount 对象被设置为默认电子邮件帐户 - 对象上似乎没有任何属性可以用来查看它是否是默认值。

以前有人做过吗?

0 投票
1 回答
2171 浏览

outlook - 使用兑换配置新的 Exchange Online 电子邮件配置文件时阻止身份验证提示

我有一个问题,尝试使用 Profman 为新配置文件配置 Exchange Online 邮件服务会导致身份验证提示,并且想知道是否有人以前以编程方式做过类似的事情,以及他们是否能够提供凭据/阻止提示从显示?

此外,使用上面的代码,如果我尝试在 Outlook 中打开帐户之前打开 RDOStore,或者没有在提示中缓存凭据,则会引发异常,指出 .OST 不是有效的存储。

到目前为止,我已经尝试过:

  • 向 RDOSession 添加凭据(如您在上面的代码示例中所见)
  • 在运行此代码之前手动将凭据添加到 Windows 凭据管理器(然后在 .Configure() 调用中仍会提示输入凭据)。

任何提示或想法将不胜感激!

0 投票
1 回答
890 浏览

exchangewebservices - EWS 电子邮件正文返回为空?

我们正在转换处理我们发送的退回电子邮件的批处理作业。我们正在从 Redemption 切换到 EWS(刚刚从 Exchange 2003 升级到 Exchange 2010)。如您所知,退回的电子邮件有不同的形式。我已经能够处理我收到的所有测试用例电子邮件,除了以下形式的电子邮件:

这是outlook中显示的内容。当我使用 EWS 阅读电子邮件时,正文是空的。当我收到 EWS 的电子邮件时,我需要查看上面的信息。这些电子邮件有一个附件(这是原始电子邮件),尽管它在 Outlook 中看起来不是这样。我试图查看从 EWS 返回的几乎所有属性,但仍然能够找到上面的文本。Redemption 允许您使用 ReportText 查看此信息。我们特别寻找的是电子邮件错误传递代码。我们根据这段代码做不同的事情。

编辑:为了更清楚,我的其他测试用例上的 Body 属性不是空的。我正在加载电子邮件,例如:

Update1:​​经过一些研究,我似乎需要能够在 PR_NDR_STATUS_CODE 和 PR_REPORT_TEXT 字段中读取邮件的收件人表。仍在搜索是否有办法在 EWS 中执行此操作。

0 投票
1 回答
761 浏览

delphi - 如何在 delphi 上实现 OutlookApp.Onquit 事件并在应用程序繁忙时避免挂起前景

我想在 Outlook 关闭时提示用户。我已经在我的应用程序中使用了兑换。我不想使用 Delphi 提供的 TOutlookApplication 类。

请帮助我在 Delphi 上实现 Outlook Onclose/OnQuit 事件。

当我为 OnQuit 事件使用 TOutlookApplication 的对象时,如果我的应用程序很忙,例如:执行需要超过 1 分钟的 SQL 语句,我的 Outlook 会挂起。最终我需要避免这种挂起。

请帮助我。

感谢和问候, Vijesh Nair

0 投票
1 回答
591 浏览

c# - 如何更改 ExchangeConnectionMode (Outlook) 的值

我正在编写一个测试用例,我想以编程方式将 Outlook 设置为脱机工作,然后测试 Outlook 再次联机时的反应。无论如何我可以更改属性 Namespace.ExchangeConnectionMode 吗?

0 投票
1 回答
301 浏览

vba - 使用兑换为任务创建自定义字段

我必须创建一个包含自定义字段的任务(p.1,p.2..like)。我必须创建一个包含文本框、按钮等属性的表单。如何在 C# 编程中使用 Redemption dll 创建这样的任务?

谢谢,谢莱什

0 投票
1 回答
4734 浏览

c# - 使用 Redemption 时如何解决此错误 MAPI_E_FAILONEPROVIDER

嗨,我有一个奇怪的问题,无法找出根本原因。我们使用 Redemption 构建和部署了我们的应用程序,一切正常,但突然 UAT 服务器上的安装停止工作。但在生产中也是如此(感谢上帝)。

我们的应用程序是基于控制台并使用 .NET 3.5 编写的,它并没有完全关闭,它正在工作,但是当我们尝试通过调度程序任务运行相同的应用程序时它不起作用,但是当我们双击 exe 文件时它可以正常工作,成功连接到 Exchange 根据我们的业务逻辑读取和下载文件,但当我们尝试在调度程序任务下运行时未执行。

以下是小错误信息可能对您有所帮助..

2012-06-15 16:05:06,724 EmailProcess.Program - 消息 = IMAPISession::OpenMsgStore 中的错误:MAPI_E_FAILONEPROVIDER ulVersion:0 错误:Microsoft Exchange 不可用。存在网络问题或 Exchange 计算机因维护而停机。组件:Microsoft Exchange 信息存储 ulLowLevelError:2147746069 ulContext:1318

请建议

编辑 1:更多信息Windows 2008 Server,名为SpecialTask​​sUser的用户在服务器上配置为登录并具有管理员权限。安装了 Outlook 并为不同的用户名OutlookSpecialUser配置了配置文件,当我们使用SpecialTask​​sUser用户登录并启动 Outlook 时,它会加载并显示收件箱和私人文件夹......到目前为止一切都很好。

我们创建了计划任务并配置为在用户名SpecialTask​​sUser下运行,因为该用户具有管理员权限,这就是它给出错误的地方。另一方面,当我们进入安装目录并双击 *.exe 文件时,应用程序将运行,并且兑换成功地读取电子邮件并执行它应该做的事情......请帮助我希望这些信息会有所帮助.. ...

0 投票
1 回答
1338 浏览

c# - 获取从 .msg 文件打开的 MailItem 的 RDOMail

有没有办法为从文件打开的 Outlook 消息创建一个RDOMail实例?MailItem.msg

我常用的方法是CurrentItem从中获取Inspector,将其转换为MailItem,检索其EntryIDStoreID值,最后RDOSession通过GetMessageFromID方法从 中加载它。

但是,对于从 a 打开的消息.msg,该EntryID属性返回null。还有其他方法吗?我假设我可以改用该GetMessageFromMsgFile方法,但是如何从MailItem?

PS 该解决方案应理想地与 Outlook 2003 对象模型一起使用。

0 投票
1 回答
1826 浏览

python - Working with Outlook Redemption in Python

Okay, so here is my current problem which can be broken down into several parts, and any advice on any part would be greatly appreciated!

  1. Overview of general problem: I have several PST files in which every email contained within the PST files has a tag that I need to remove. The end goal is a PST file minus the tag (the tag is 3 lines of text in each email bracketed on the top and bottom by lines of *).

  2. To solve this, I wanted to be able to manipulate the PSTs in Python.

  3. In order to manipulate in Python, I found out that i could use Outlook Redemption and its MAPI tables (I have not used any MAPI tables before).

  4. Outlook Redemption is deployed in a DLL file, and I have never had to import a DLL file into Python before, so I checked Stack Overflow and got this answer. However, I don't understand these lines:

    What should I put in the space denoted by "...", and does he mean anything special by mapping it to a Python name?

Like I said, any help / advice / suggestions / pity would be greatly appreciated.

0 投票
1 回答
806 浏览

vb.net - Using Outlook Redemption with VB

Ok so here is what I am trying to do: I need to access a bunch of PSTs on my computer, cycle through each email and make a modification to a text tag in the email then finish up with the same PST + modifications. I have found out that I need to use Outlook Redemption with Visual Basic (2010) but I have never used either. Any help would be greatly appreciated!