Entourage から Outlook にメールをエクスポートします。
Article by Dave Addey
私は最近のEntourageからとOutlookに電子メールの束をエクスポートするために持っていました, フォーマットの誰かにそれらを送信するために、彼らは、PC上で閲覧して読むことができます. You’d think that exporting a selection of emails from one Microsoft email management tool to another would be easy, 右? Sadly not. Thankfully, AppleScriptと比較的安価なユーティリティのビットは、物事が私のために働いて得ました. This post describes how.
主な問題は、Entourageの間で共通のフォーマットの欠如であります (.フォルダのMBOX, .個々の電子メール用EML) 展望 (.すべてのためのPST). Entourageのからエクスポートするための本当に良いAppleScriptをエクスポートツールがありました, しかし悲しいことに、Leopard上で動作するように更新されたことがないです. You can export a whole folder as an MBOX file from Entourage, しかし、これらは、Outlookで開くことができないので、どちらかあまり使用されないことができます.
(余談として, there are numerous ways to go the other way, Outlookからエクスポートして、Entourageのにインポートします. It’s almost as if lots of people are switching from PC to Mac, しかし、いくつかは、他の方向に移動する必要があります...)
Entourageの外のメールを取得 - 私の最終的な解決策は、2つの部分があります, その後、Outlookにそれを取得.
Entourageの外のメールを取得します
この部分について, 私はAppleScriptを書きました (macosxhintsからのコードに大きく基づいて、) 私のMac上のフォルダへのEntourage内のすべての現在選択された電子メールをエクスポートします. Many thanks to macosxhints user golgi_body for posting the original code.
ここで私が使用しているスクリプトがあります (それを使用するスクリプトエディタにこれをコピーします):
tell application "Microsoft Entourage"
-- get a reference to all selected messages from entourage
set selectedMessages to the current messages
if selectedMessages is {} then
return
end if
-- absolute reference to our export folder
set fpath to "DiskName:Users:myusername:Documents:existingfolder:"
repeat with i in selectedMessages
set sentDate to time sent of i
set fname to fpath ¬
& my padNumber(year of sentDate as integer) ¬
& "-" & my padNumber(month of sentDate as integer) ¬
& "-" & my padNumber(day of sentDate as integer) ¬
& "-" & my padNumber(hours of sentDate as integer) ¬
& "-" & my padNumber(minutes of sentDate as integer) ¬
& "-" & my padNumber(seconds of sentDate as integer) ¬
tell application "Finder"
if (exists file (fname & ".eml")) then
set k to 1
repeat while (exists file (fname & "-" & (k as string) & ".eml"))
set k to k + 1
end repeat
set fname to (fname & "-" & (k as string))
end if
end tell
set fname to fname & ".eml"
save i in fname
tell application "Finder" to update file fname
end repeat
end tell
to padNumber(theNumber)
if theNumber is less than 10 then
return "0" & theNumber
else
return theNumber
end if
end padNumber
あなたのMac上の既存のフォルダへのパスにFPATHを設定する必要があります. あなたは、スクリプトエディタでこのスクリプトを実行すると、, Entourageで選択したファイルのすべてが.emlファイルとしてエクスポートフォルダにエクスポートされます.
なぜすべてでAppleScriptを使用? Why not just drag the selected emails onto a folder? After all, これは、.emlファイル形式でそれら自体をエクスポートするのEntourageを促し. The problem is, あなたはそうするとき, Entourageは、ファイル名として電子メールの件名を使用して電子メールをエクスポート. This can contain all sorts of weird and wonderful characters, およびWindowsは、すべてのことが好きではありません。. This script avoids the problem altogether by using the date and time the email was sent as the filename. (また、あなたがする必要がある場合は、それが簡単にFinderで、日付と時刻によって、あなたの.emlファイルを注文することができます。)
Outlookにしてメールを取得
この部分について, I used a Windows utility called Outlookインポートウィザード. It costs $19.95, あなたはそれを保存することができ、時間を考えると、それはそれだけの価値以上です. You can download it and try it out for free (最大 5 デモのインポートあたりの電子メール), しかし、警告される - デモモードで, あなたは「EMLを有効にする前処理をオンにすることはできません (Unix, マック)ウィザードは、Macでエンコードされたメールを認識させる」オプション, そのため、インポートしたメールは、Outlookでそれらを表示するときに「=」記号がたくさん含まれています. The good news is that the purchased app works fine with Mac-encoded emails.
インポートプロセスは非常に簡単です. On your PC with Outlook installed, Outlookのインポートウィザードを介して動作, 「EMLを有効にする前処理をオンにしてくださいという (Unix, マック)「オプション (「ソースフォルダを選択」画面で「オプション」ボタンの下に) お使いのMacでエンコードされた電子メールが認識されていることを確認します. The wizard is pretty self-explanatory, and there are 完全な手順オンライン, 私はここでは詳細の設定の残りの部分は実行されません. It’ll take a while to do the import, しかし、最終的にOutlookであなたの電子メールのすべてになってしまいます, すべての添付ファイルとオリジナルのヘッダーと.
私だけのEntourageで、このプロセスを自分で試してみました 2008 (ヒョウの) 展望 2002 (XP上), 私はそれがあまりにもEntourageの以前のバージョンで動作するように期待します. The Outlook Import Wizard claims to work on Windows 98/Me/NT 4.0/2000/XP/2003 with Outlook 98/2000/2002/2003/2007, あなたはどのようなセットアップに関係なく行くために良いことがあります.