I have created a sharepoint document library which is email enabled. However when i send email to the designated email address from anywhere, i dont receive the email & attachment in the list. I have done some R&D and i hv found that in order to receive email from anywhere i have to expose my DNS of the sharepoint site to the outside world. Now i dont know whether it applies to the email address designated to me in the Active directory profile as well (my company domain email address). How to test that this email reception is working in the document library? I have tried sending an email from the sharepoint site and it works fine so the SMTP settings are correctly done.
First off, you need to make sure that you have an MX record somewhere in DNS so that a mail server can deliver to the sharepoint server. This could be a public DNS record, or internal, depending on your needs.
To test whether you have set up Sharepoint and the local SMTP server properly try the following:
View the folder you configured the smtp server to deliver to (C:\Inetpub\mailroot\Drop for example) - you will watch this to see if messages are delivered.
Then open a telnet session to the sharepoint server on port 25. Via this you can "send" a test message directly to the smtp server using the address of your Document Library.
If you have your smtp server configured correctly, and you see a message saying the message was queued after typing the above, then you should see a file appear in the folder you are watching.
If Sharepoint is configured to check this folder correctly, after a few minutes you should see the message disappear from the folder and appear in the Document Library.
The only time I have seen messages disappear from the drop folder, and not appear in the Doc Library, it has been when sending messages with nothing in the body. Sharepoint seems to discard these, even if there is an attachment.
I also had issues where Sharepoint was creating contacts in AD with the wrong email address - check these are created as you would expect otherwise Exchange may discard mail coming in from outside.
Are you trying to do something like this:
e.g. send email from firstname.lastname@example.org (or email@example.com etc) to firstname.lastname@example.org?
If this is so that is not possible if "yourdomain" is just an intranet within your organization.