使用c#或vb.net将NotesDocument保存到.eml文件 [英] save NotesDocument to .eml file using c# or vb.net

查看:202
本文介绍了使用c#或vb.net将NotesDocument保存到.eml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Lotus Notes的.nsf文件中获取NotesDocument。我想使用c#或vb.net将NotesDocument保存到.eml文件。有可能吗?

I am fetching NotesDocument from .nsf file of Lotus notes. I want to save NotesDocument to .eml file using c# or vb.net. Is it possible?

推荐答案

eml只是一个符合RFC 2822的文本文件。您可以手动编写它。喜欢:



eml is just a text file that conforms to RFC 2822. You can just write it manually. Like:

To: you@hotmail.com
From: me@gmail.com
Subject: hi
X-Other-Headers: go here

Hello, world

Remember to use LF not CRLF


我们要写入To,From,Subject和其他细节的对象是MailMessage或NotesDocument还是别的什么?我们如何将它以.eml格式保存到文件系统?
The object in which we are going to write To,From,Subject and other details is it the MailMessage or NotesDocument or something else? and How can we save it to the file system in .eml format?


这篇关于使用c#或vb.net将NotesDocument保存到.eml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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