들어오는 전자 메일 기능을 테스트 할 수있는 도구를 제안하십시오.

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/92292

  •  10-12-2019
  •  | 
  •  

문제

SharePoint Server로 이메일을 보내는 기능을 테스트하고 싶습니다. SharePoint는 이메일 문서를 Library로 이동합니다.

내 이해에서 SharePoint는 정기적으로 C : \ inetpub \ mailroot \ drop을 확인하고 메일 파일을 라이브러리로 이동합니다.그래서 모든 도구를 사용하여 해당 메일 파일을 드롭 폴더에 만들 수 있습니다.그렇게 할 수있는 편리한 도구가 있습니까?고마워.

도움이 되었습니까?

해결책 2

Thanks a lot Robert. I will keep it as future reference.

In my test I need some email with attachment. So I do this way:

  1. Setup smtp (with iis6) on localhost, map mydomain.com to it. Change the relay rule and authentication rule to allow everyone use (since it is just my test box)
  2. Setup MX record @mydomain.com at DNS server: i.e. @mydomain.com --> localhost
  3. Install a thin email client. (I used something really thin 2 years ago but I forgot the name so I use Thunderbird.) In the client set SMTP as localhost and no authentication required. We are ready to send email to local drop folder now.

다른 팁

Apparently I was incorrectly remembering the process for working with this last night. So here is an update with more detail.

I have done this with just note pad. Usually I will take an email out of Outlook or other client and save it as a .txt file so that I can edit it easily. I'll make the adjustments to the to, x-sender, and x-receiver headers and then just save it to the folder as a .eml.

But really the best thing is to configure the environment so that when you send the email, it gets dropped in the folder as expected.

The most important thing is that you include

x-sender: user_lastname@domain.com
x-receiver: it_test_list@sharepoint.domain.com

Here is an example header you are welcome to use:

x-sender: user_lastname@domain.com
x-receiver: it_test_list@sharepoint.domain.com
Received: from US-XCH-01.domain.net ([10.1.1.7]) by usd-01.domain.net with Microsoft SMTPSVC(6.0.3790.4675);
     Tue, 15 Oct 2013 10:17:34 -0400
Received: from usd-04.domain.net ([10.1.1.44]) by US-XCH-01.domain.net with Microsoft SMTPSVC(6.0.3790.3959);
     Tue, 15 Oct 2013 10:18:24 -0400
Received: from USD-03.domain.net ([fe80::bd40:54db:3700:7e66]) by
 us-04.domain.net ([fe80::4c06:3001:d4ea:d2c4%12]) with mapi id
 14.02.0342.003; Tue, 15 Oct 2013 10:18:24 -0400
From: Robert Kaucher <user_lastname@domain.com>
To: "it_test_list@sharepoint.domain.com" <it_test_list@sharepoint.domain.com>
Subject:    A Third Test
Thread-Topic: a third test
Thread-Index: Ac7JsUXUHTketEOPTZ2a/Cbs1EHTVA==
Date: Tue, 15 Oct 2013 14:18:23 +0000
Message-ID: <4EBC97D98E660B46B9848C5A0D8414AB1CVC53D8@us-03.domain.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.1.1.216]
Content-Type: multipart/alternative;
    boundary="_000_4EBC97D98E660B46B9848C5A0D8414AB1CAD53D8stuff_"
MIME-Version: 1.0
Return-Path: user_lastname@domaine.com
X-OriginalArrivalTime: 15 Oct 2013 14:18:24.0424 (UTC) FILETIME=[68C1AA80:01CEC9B1]

--_000_4EBC97D98E660B46B9848C5A0D8414AB1CAD53D8ustuff_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Body of message

Here is a screen shot showing it worked.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top