默认电子邮件帐户 [英] default email account

查看:126
本文介绍了默认电子邮件帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C#中如何使用outlook对象模型查找默认电子邮件帐户及其文件夹?

In C# how to find the default email account and its folder, using the outlook object model?

 

问候,

Karthik

推荐答案

什么文件夹?收件箱,已发送邮件?对于默认邮件帐户(Exchange,SMTP等),这些文件夹将由Namespace.GetDefaultFolder返回。
What folder? Inbox, Sent Items? For the default mail account (Exchange, SMTP, etc) those would be the folders returns by Namespace.GetDefaultFolder.


这篇关于默认电子邮件帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆