简体   繁体   English

在SQL Server或R中插入和解析.eml文件

[英]Insert and parsing .eml files in SQL Server or R

I currently have some .eml files on my local disk in which I would like to parse/insert into sql server 2014. 我目前在我的本地磁盘上有一些.eml文件,我想在其中解析/插入到sql server 2014中。

I have seen some ways to do this via C# however, I am unfamiliar with that language. 我已经通过C#看到了一些方法,但我不熟悉那种语言。

I am comfortable in analyzing the data via SQL or in R and also running a procedure using SSIS. 我很乐意通过SQL或R分析数据,并使用SSIS运行程序。

Also let us assume that I need all the fields in the .eml files. 另外,让我们假设我需要.eml文件中的所有字段。

Any help would be greatly appreciated! 任何帮助将不胜感激!

在使用mimefilt.dll执行此任务之前,我建议检查此文件文档并尝试再次注册SQL不太确定如何使用2014版本问候

One hack way that I found out to do this is to use software to convert eml files to csvs and upload it via import or SSIS. 我发现这样做的一种方法是使用软件将eml文件转换为csvs并通过import或SSIS上传。

The software I used was PSTViewer Pro which can convert the email files to a flat CSV file. 我使用的软件是PSTViewer Pro,它可以将电子邮件文件转换为平面CSV文件。 Very Handy. 非常便利。

Thank you all! 谢谢你们!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM