如何使用C#将Outlook电子邮件保存到文本文件 [英] How do I save an outlook email to a text file using C#

查看:91
本文介绍了如何使用C#将Outlook电子邮件保存到文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使用C#将Outlook电子邮件保存到文本文件?手动我们通过打开邮件并单击SaveAs然后选择文件类型作为文本来实现。但是,这应该通过C#代码完成。



我在互联网上找不到任何相关内容。请帮忙!



我尝试过的事情:



我是新手到Outlook编程

Is there any way to save an outlook email to a text file using C#? Manually we do it by opening the mail and clicking SaveAs and then select file type as text only. But, this should be done through C# code.

I can't find anything relevant on internet. Please help!

What I have tried:

I am new to Outlook programming

推荐答案

我花了大约5秒来谷歌c#outlook automation保存电子邮件文本并找到这个;



使用C#将文本从电子邮件正文导出到excel [ ^ ]



自己进行搜索,你会找到其他例子。
It took me about 5 seconds to google "c# outlook automation save email text" and find this;

Exporting text from email body to excel by using C#[^]

Do the search yourself and you'll find other examples.


这篇关于如何使用C#将Outlook电子邮件保存到文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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