Dav*_*olm 35 exchange email outlook-web-access
如何在 Outlook Web Access 中启用Internet 样式的引用?我找到了几个 关于如何在 Outlook 中启用它的指南,但在 Outlook Web Access 上没有找到一个。我们正在运行 8.1 版。
我无法从外部使用 Exchange/IMAP 访问服务器。现在这给我带来了重大问题,因为我必须在发送回复之前花费大量时间编辑长电子邮件。
sda*_*aau 14
不,您不能在 OWA 中进行电子邮件引用。话虽如此,您可以将 Firefox 与It's All Text 一起使用!附加组件在文本编辑器中打开文本,然后在那里添加引用前缀。从修复 Outlook 引用样式:
在 OWA 中,选择回复消息。出现可怕的引用消息文本。
使用 It's All Text 或其他类似工具在相当智能的编辑器中打开消息文本。
通过此脚本过滤整个消息文本。例如,在 Vim type 中
:%!path-to-script.rb
,当然是在使脚本可执行之后。用过滤器的输出替换原始消息文本。如果使用 It's All Text,只需输入
:wq
.快!正确引用的消息。不过,您可能需要移动您的签名。
这就是如何使用它,现在这里是脚本:
Run Code Online (Sandbox Code Playgroud)#!/usr/bin/env ruby # Fix outlook quoting. Inspired by perl original by Kevin D. Clark. # This program is meant to be used as a text filter. It reads a plaintext # outlook-formatted email and fixes the quoting to the "internet style", # so that:: # # -----Original Message----- # [from-header]: Blah blah # [timestamp-header]: day month etc # [...] # # message text # # or:: # # ___________________________ # [from-header]: Blah blah # [timestamp-header]: day month etc # [...] # # message text # # becomes:: # # On day month etc, Blah blah wrote: # > message text # # It's not meant to alter the contents of other peoples' messages, just to # filter the topmost message so that when you start replying, you get a nice # basis to start from. require 'date' require 'pp' message = ARGF.read # split into two parts at the first reply delimiter # match group so leaves the delim in the array, # this gets stripped away in the FieldRegex if's else clause msgparts = message.split(/(---*[\w\s]+---*|______*)/) # first bit is what we've written so far mymsg = msgparts.slice!(0) # rest is the quoted message theirmsg = msgparts.join # this regex separates message header field name from field content FieldRegex = /^\s*(.+?):\s*(.+)$/ from = nil date = nil theirbody = [] theirmsg.lines do |line| if !from || !date if FieldRegex =~ line parts = line.scan(FieldRegex) if !from from = parts.first.last elsif !date begin DateTime.parse(parts.first.last) date = parts.first.last rescue ArgumentError # not a parseable date.. let's just fail date = " " end end else # ignore non-field, this strips extra message delims for example end else theirbody << line.gsub(/^/, "> ").gsub(/> >/, ">>") end end puts mymsg puts "On #{date}, #{from} wrote:\n" puts theirbody.join("")
归档时间: |
|
查看次数: |
12772 次 |
最近记录: |