使用tnef打开*.dat的邮件

有时,windows上面发送的mail是dat格式的,例如winmail.dat,这文件包含了附件信息,可惜不能直接打开,打开的方法有两种
,如下:
*从"http://sourceforge.net/projects/tnef/files/tnef/"下载tnef程序,
a)编译:
$./configure && make
这样会生成一个可执行文件tnef
b)运行:
$./tnef windat.mail
这样即可在当前目录生成解压好的附件内容。
这个tnef更详细的信息,参见"./tnef --help"的输出。
以上方法在linux上面可用。

*登陆"http://tud.at/php/tnef/index.php",然后选择浏览你的winmail.dat文件,再sendfile,然后就会返回解压之后的文件两个
方法原理一样,都是使用tnef程序。
以上方法,只要能够用浏览器联网就可用。

猜你喜欢

转载自vaqeteart.iteye.com/blog/1144786
今日推荐