Send email do SharePoint Document Library - not working

Posted on 2010-09-13
Medium Priority
Last Modified: 2012-06-27
Hi all,

on a SBS2008 I set up a Document Library on Companyweb (http://support.microsoft.com/kb/961300) then assigned an email address, which matches my new contact created in Exchange 2007.

I then send a test mail from my mailbox to the new contact, hoping to see the test mail listed on my Document Library but... nope.

No NDR, no error logs, nothing...  Tried requesting a delivery receipt and a read receipt, nothing...

What's wrong here ?

Question by:DaBoags
  • 5
  • 4
LVL 11

Expert Comment

ID: 33669275
There's a lot that has to go on before getting an attachment into a Doclib.

1.  Make sure IIS's SMTP server is installed and running on the farm
2. In Central Admin, define the address space that sharepoint will live in "*@my.domain.com"  .  Set it to automatic pickup
3. In your Exchange transport rules, you'll want to say *@my.domain.com" gets forward to an SMTP relay of your Sharepoint box.
4. Turn on verbose logging on both the SMTP Send Connector in Exchange and on the IIS connector in Sharepoint.
5. Watch your Sharepoint event viewer logs, they'll report every minute whether or not something was picked up.
6. Double check the email address of the document library, and change the permissions so that anyone can submit mail.  (Once you've got it running, you can lock down the permissions)

Basically, the flow is like this

email from outlook/internet/wherever goes into Exchange
Exchange has an SMTP relay assigned for that address space
Exchange pushes the mail to the IIS SMTP dropbox
Sharepoint monitors the dropbox every minute and
Sharepoint picks up the email, looks for a valid recipient match to a list/library.
Sharepoint checks permissions - the sender must have contribute rights by default!
If it's a document library, attachments turn into documents, other metadata is recorded as well.

With logging cranked up, you'll see the email leave Exchange, go to IIS SMTP, see Sharepoint pick it up and put it in a doclib.

Good luck!


Author Comment

ID: 33669290
Mmh thanks, you'd think they made it more straightforward.  Can u walk mw tru steps 2 & 3 please ? I think I've set it up already but I may have left a checkbox or two...

LVL 11

Expert Comment

ID: 33673547
It would be best if you create a 3rd tier domain name for your sharepoint lists... for example, if your 'regular' exchange/internet domain name is "domain.com", assign sharepoint as "sharepoint.domain.com".  In your DNS server, create an MX record for "sharepoint.domain.com" that points to the Sharepoint server.

Sharing the same domain name as the rest of your exchange organization is somewhat difficult, as Exchange won't know how to route emails for doclib@domain.com to sharepoint, as opposed to doclib@sharepoint.domain.com, which then becomes it's totally own namespace.

Item #2 - checking Central admin, refer to

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions


Author Comment

ID: 33688359
Thanks, I just created the MX record in my DNS but now I get NDR's "SMTPSEND.DNS.MxLoopback; DNS records for this domain are configured in a loop ##

This is an SBS so it's all on the same box... Exchange finds the contact @companyweb then looks for an MX, finds it to point to itself so there goes the loop... I'm following this basically http://blogs.technet.com/b/sbs/archive/2009/02/02/how-to-use-outlook-to-send-email-to-a-sharepoint-document-library-on-sbs-2008.aspx but it's obviously missing something...
LVL 11

Expert Comment

ID: 33691774
Oh.. .SBS 2008?   that would have been good to know from the start.   In that case, SBS wizards set it all up for you, and the "smtp domain" of Sharepoint defaults to "companyweb".  In general, the more you deviate from SBS wizardry, the more challenges you'll face.

SO... let's get rid of the MX record, put the Central Admin back to
 - Enable sites: yes and "Advanced"
-  No to SharePoint directory Management
-  mylist @ "companyweb"
- C:\inetpub\mailroot\drop

IIS SMTP is NOT needed, and if it is on, will conflict with Exchange 2007.  Make sure IIS SMTP is off/disabled.

Monitor the \inetpub\mailroot\drop folder for files... if they show up there, then Exchange is doing it's job - and we can divide and conquor from there.

Author Comment

ID: 33712534
Done that. still no email showing up in Companyweb...  Followed all the wizardry I could find, all the blogs etc.  Darn thing won't work.
LVL 11

Accepted Solution

FastFngrz earned 2000 total points
ID: 33713641
Ok, what's the SMTP address of the list/library, and what's the SMTP address you are sending to?
Then, does anything show up in C:\inetpub\mailroot\drop?   Is there anything in that folder now?
SBS should allow you to 'track message' - see the Exchange Management Console-Tools-message tracking and it will tell you what it's doing with the emails.

Author Comment

ID: 33713789
Ok, here are the settings :

In SharePoint Central Admin :
Tab "Operations"
Outgoing :
- Email : cancadmin@canc.nc

Incoming :
- Allow : yes
- Advanced
- Directory : yes (OU=SBSUsers,OU=Users,OU=MyBusiness,DC=canc,DC=local)
- Authenticated only : no
- Distribution Group : yes
- Approval settings : Yes no no Yes
- Email : mylist@companyweb
- Drop : C:\inetpub\mailroot\drop

In Companyweb
Outgoing email settings :
- Authorise : yes
- Email address : presse@companyweb
- Attachments : all in root
- Replace : no
- Save original : yes
- Save requests : no
- Security : accept all

In Exchange
Contact : SMTP address : presse@companyweb


(translation may be approximate, server is in FR...)


Author Closing Comment

ID: 33713803
HA ! Just going tru all my settings and your messages, now it works... go figure, I haven't changed anything :)

Anyways, thanks a lot, I'll award the points since you've been so helpful :)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Exchange database can often fail to mount thereby halting the work of all users connected to it. Finding out why database isn’t mounting is crucial and getting the server back online. Stellar Phoenix Mailbox Exchange Recovery is a champion product t…
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question