将.msg文件存储在数据库(SQL Server)中并将其检索回以再次发送 [英] To store .msg file in database(SQL server) and to retrieve it back to send again

查看:112
本文介绍了将.msg文件存储在数据库(SQL Server)中并将其检索回以再次发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有没有办法将.msg文件存储在数据库中,并附上所有详细信息,包括附件,并将此已保存的消息重新发送回来再发送。在DB中保存整个.msg文件的想法是为了避免再次形成消息的额外开销。

Hi,
Is there any way to store .msg file in database with all it's details including attachments and retrieve this saved message back to send it again. The idea to save entire .msg file in DB is to avoid the extra overhead of forming the message over again.

推荐答案

是的,你可以。

只需将消息保存到文件

将文件保存为DB作为二进制数据

从DB加载文件

从DB打开下载的文件并执行消息你想要的任何消息。



兑换这样的东西:

保存信息:

yes you can.
Just save message to file
Save file to DB as binary data
Load file from DB
Open downloaded file from DB and do with message all you want.

Something like this with redemption:
Save message:
Redemption.RDOMail ma2;
ma2.SaveAs("file path");



加载消息:


Load message:

Redemption.RDOSession ses;
ses.GetMessageFromMsgFile("File path");



我希望这对你有帮助。


i hope this will help you.


这篇关于将.msg文件存储在数据库(SQL Server)中并将其检索回以再次发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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