2013-02-12 7 views
2

전자 메일 자동 전달 규칙을 만드는 것과 반대의 종류를 찾고 있습니다. 수신 된 자동 전달 이메일 인 에서 작동하지만 동일한 사람이 직접 전달하거나 회신 한 규칙은 생성하지 않으려합니다.Outlook 2007 : 자동 완성 된 메시지를 감지하고 처리하는 메시지 규칙 만들기

예. Jim은 주제에 "blah"가 포함 된 모든 이메일을 전달하고, 은 자동 전달을 내 "Jim 's auto-forwards"폴더로 이동하지만, 은 "blah"라고 수동으로 메시지를 전달하지만 자신의 의견, 내받은 편지함에 머물고 싶습니다.

Outlook은 전자 메일을 볼 때 같이 표시되므로 자동 전달된다는 것을 알고있는 것으로 보입니다.

"This message was AutoForwarded." 

그러나 나는이 필터링 규칙을 만들 수있는 옵션을 발견하지 않았습니다 : 그냥 바로 리본 아래 부분 "보낸 사람"하지만 위, 그것은 같은 것을 말한다.

답변

1

나는 규칙이 이것을 할 수 있다고 생각하지 않는다.

일부 VBA를 사용해보세요. 2013 02 26

검증되지 않은

편집이 필요한 경우 디버깅 할 수 있도록 몇 가지 참조가 있습니다 ThisOutlookSession http://www.slipstick.com/outlook-developer/how-to-use-outlooks-vba-editor/

의 코드를 넣습니다.

NewMailEx : http://msdn.microsoft.com/en-us/library/office/bb147646(v=office.12).aspx

를 autoforwarded 재산권 : http://msdn.microsoft.com/en-us/library/office/ff867162.aspx

Private Sub Application_NewMailEx(ByVal EntryIDCollection As String) 
    Dim varEntryIDs 
    Dim objItem 
    Dim i As Integer 

    Dim myOlApp As Outlook.Application 
    Dim myNameSpace As Outlook.NameSpace 
    Dim myInbox As Outlook.MAPIFolder 
    Dim myDestFolder As Outlook.MAPIFolder 

    varEntryIDs = Split(EntryIDCollection, ",") 
    For i = 0 To UBound(varEntryIDs) 
     Set objItem = Application.Session.GetItemFromID(varEntryIDs(i)) 

     'Debug.Print "NewMailEx " & objItem.Subject 

     If objItem.SenderName = "Jim Smith" Then 

      If objItem.AutoForwarded then 

       Set myNameSpace = myOlApp.GetNamespace("MAPI") 
       Set myInbox = myNameSpace.GetDefaultFolder(olFolderInbox) 

       ' Assumes destination folder is directly under the Inbox 
       Set myDestFolder = myInbox.Folders("Jim AutoForwarded") 
       objItem.Move myDestFolder 

      End If 
     End If 

    Next 
    Set objItem = Nothing 
    Set myDestFolder = Nothing 
    Set myInbox = Nothing 
    Set myNameSpace = Nothing 
    End Sub 
+0

전자 메일을받을 때 자동으로 실행되도록 Outlook에 어떻게 추가합니까? – dstronczak

+0

@dstronczak 코드에 대한 설명에 대한 링크를 추가했습니다. – niton

+0

이 줄에는 어떤 종류의 오류가있었습니다 :'If objItem.SenderName = "MyCollegueName"Then' – dstronczak

0

우리의 교환 서버 (? 아웃룩은 아마) 다음과 같은 헤더를 추가 할 때 자동 전달 : 열어

Auto-Submitted: auto-generated 
X-MS-Exchange-Generated-Message-Source: Mailbox Rules Agent 

(가시 이메일을 보거나 "속성"을보고 헤더를 봅니다.) Outlook이 메시지를 탐지하는 데 사용하는 것 같습니다 를 autoforwarded (또는 적어도 일치)

과 전망/교환 2013 I가 성공적으로 "유일한 이동합니다 다음과 유사 규칙을 사용했다

"라는 메시지 헤더에 지정된 단어의 "필터 옵션이되었다 특정 폴더에 짐 "ㅋ"에서를 autoforwarded 주제 메시지 "

Apply this rule after the message arrives 
from '[email protected]' 
and with 'blah' or 'blurg' in the subject 
and with 'auto-generated' or 'Auto-Submitted' in the message heade 
move it to the 'Jims auto-forwards' folder 

그리고 이것은 그가 수동으로 동일한 규칙에 의해 처리되는 전달 상관 없음 것을 방지하기 위해 등장했다.

1

우리의 Exchange Server는 자동 전달을 위해 다음과 같은 헤더를 추가하고 자동 [email protected] 이메일 포워딩 사람 자동차의 이메일입니다

X-MS-Exchange-Inbox-Rules-Loop: [email protected] 

답글.

내가 설정이 규칙이있는 MS 아웃룩 2010을 사용하여 - 내가 확인했다>

From: [email protected] and with 'X-MS-Exchange-Inbox-Rules-Loop: [email protected]' or 'X-MS-Exchange-Inbox-Rules-Loop: [email protected]' in the message header move it to the 'xyz' folder

[email protected]뿐만 아니라 [email protected] 메시지 헤더에 일부 자동 Fwd/Re 전자 메일 헤더와 마찬가지로 보낸 사람의 성은 대문자입니다.

참고 : 앞서 언급 한 것처럼이 규칙은 해당 사용자의 모든 자동 전달 및 자동 회신 (예 : 부재 중/부재 중 자동 회신)에 적용됩니다. 수동 Fwd/RE 이메일은 필터링되지 않습니다.