측근에서 아웃룩에 이메일을 내보내기
Article by Dave Addey
나는 최근 측근에서와 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.
가장 큰 문제는 측근들 사이의 일반적인 형식의 부족이다 (.폴더 MBOX, .개별 이메일에 대한 EML) 및 전망 (.모두를위한 PST). 측근에서 수출을 위해 정말 좋은 AppleScript로 내보내기 도구로 사용이, 그러나 슬프게도 레오파드에서 작동하도록 업데이트 된 적이 있어요. You can export a whole folder as an MBOX file from Entourage, 그러나 이들은 Outlook에서 열 수 없습니다 등 중 많이 사용하지 않습니다 수.
(여담으로, there are numerous ways to go the other way, Outlook의 수출 및 측근로 가져. It’s almost as if lots of people are switching from PC to Mac, 그러나 몇몇은 다른 방향으로 갈 필요가 ...)
내 궁극적 인 해결책은 두 부분으로 - 측근에서 메일을 받고, 다음 Outlook에 그것을 얻기.
측근에서 메일 가져 오기
이 부분에 대한, 나는 애플 스크립트를 썼다 (macosxhints에서 코드에 크게 기반) 내 맥의 폴더에 측근에있는 모든 현재 선택된 이메일을 보냅니다. 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 설정해야합니다. 당신은 스크립트 편집기에서이 스크립트를 실행하면, 측근에서 선택한 모든 파일 이름이 .eml 파일로 내보내기 폴더에 수출한다.
왜 모든 AppleScript를를 사용? Why not just drag the selected emails onto a folder? After all, 이에 .eml 형식으로 자체를 수출하는 측근하라는 메시지를 표시. The problem is, 당신은 그렇게 할 때, 측근은 파일 이름과 이메일 제목을 사용하여 이메일을 보냅니다. 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 파일을 주문할 수 있습니다.)
아웃룩에서 메일을 가져 오기
이 부분에 대한, I used a Windows utility called Outlook 가져오기 마법사. It costs $19.95, 그러나 당신이 시간을 고려할 때 저장할 수있는 가치보다 더 많은입니다. You can download it and try it out for free (max 5 데모 가져 오기 당 이메일), 데모 모드 -하지만 경고, 당신은 "활성화 EML의 전처리를 켤 수 없습니다 (유닉스, 맥)"옵션은 마법사가 맥 인코딩 된 이메일을 인식 만들려면, 그래서 가져온 이메일 Outlook에서 그들을 볼 때 "="기호를 많이 포함됩니다. The good news is that the purchased app works fine with Mac-encoded emails.
가져 오기 프로세스는 매우 간단합니다. On your PC with Outlook installed, Outlook 가져 오기 마법사를 작동, 켜십시오되는 것은 "를 EML 전처리 사용 (유닉스, 맥)"옵션 (은 "소스 폴더를 선택"화면에서 '옵션'버튼 아래에) 맥 인코딩 된 이메일이 인식되어 있는지 확인합니다. The wizard is pretty self-explanatory, and there are 온라인 전체 지침, 그래서 나는 여기에 자세히 나머지 설정을 통해 실행되지 않습니다. It’ll take a while to do the import, 결국 당신은 Outlook에서 모든 이메일 될 겁니다, 모든 첨부 파일 원래 헤더.
난 단지 측근으로이 과정을 자신을 시도했습니다 2008 (레오파드) 및 전망 2002 (XP에), 하지만 난 너무 측근 이전 버전의 작업을 기대. The Outlook Import Wizard claims to work on Windows 98/Me/NT 4.0/2000/XP/2003 with Outlook 98/2000/2002/2003/2007, 그래서 당신은 상관없이 당신의 설정 가서 잘해야합니다.