c# - 电子邮件的显示选项

标签 c# outlook email preferences

我正在显示一封特定的邮件消息。我想知道我是否可以更改显示首选项。我想更改选项以显示邮件正文中嵌入的图片。我以这种方式访问​​邮件:

Outlook.Application outLookApp = new Outlook.Application();
Outlook.Inspector inspector = outLookApp.ActiveInspector();
Outlook.NameSpace nameSpace = outLookApp.GetNamespace("MAPI");
Outlook.MAPIFolder inbox = nameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
Outlook.MailItem item = inbox.Items[1];
item.Display();

最佳答案

可能有一种变通方法可以创建您正在谈论的内容与此电子邮件显示。就像创建您自己的 MailItem 显示器一样。但是我找不到打开和关闭它的方法。可以挖here找出 Outlook 库的更深层次的功能。您可以尝试在此处找到设置,看看它们是否提供了更改它们的方法。

关于c# - 电子邮件的显示选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2817665/

相关文章:

c# - AutoResetEvent 和 ManualResetEvent 之间的混合

c# - 远程服务器返回错误 : (401) Unauthorized. wcf httpbinding basic

c# - 为什么 Synchronized 方法总是返回 false?

c++ - 启动默认电子邮件客户端以打开带有预选文件附件的 "send email"窗口

html - Outlook 中的电子邮件 html 字体大小

azure - 使用 Azure DNS 转发电子邮件

email - 如何使用python创建从openerp自动发送邮件的程序

c# - .NET Core C# 中的 Azure App Service Container Managed Identity Key Vault

ruby-on-rails - 错误率: Devise: Email confirmation on heroku gives Connection refused error

Excel VBA : Looping through all subfolders in Outlook email to find an email with certain subject