Hi,
So I am setting up a dev environment with SMTP and incoming email for SP2013.
After some extra hours of work I finally was able to send mail to the address and the email (eml file) lands in the famous drop folder and seems to be taken care of since it nicely disappears after the email timer job is ran.
HOWEVER, the document library is still empty! Why??
I have granted all the access needed to the wss_admin_wpg and wss_wpg users  for the drop folder.
SharePoint OOB functionality for you. Right.Â
ULS log? It only says 1 item was processed. That’s all.
Magnus
That is expected SP behavior, when you enable custom email event handler on any list/library, other email settings on incoming email will disappear. However, I believe you can set those settings through your handler code but will not appear on UI.
Moreover, if you have custom email handler on a library in a site, ootb incoming email will not work on other libraries of same site. I have experienced this behavior in SP 2010.
Thanks, Trevor. Yea, the thing is when I implement the SPEmailReceiever and deploy it with the list, I ONLY get the option to specify the incoming email address in the “Incoming E-mail Setting” on the list.
The other options when I create an OOB announcement list , to choose to store the original email in the list, enable any sender++ are just not there……
Now, when I try to deploy and run my custom emaileventreceiver with my custom announcementlist I get the “Event manager error: Could not load type ‘TestProject.Annonser_EmailReceiver.Annonser_EmailReceiver’ from assembly ‘TestProject, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8266543298a45c1e’.
Sending email to an OOB announcementlist or discussionlist works fine, and these have all the options for Incoming Email Settings as supposed to…
You don’t have to enable anonymous on the Web Application nor at the Site level. You simply enable any sender to send to the Document Library (don’t base it off of permissions).
Announcement list and Discussion lists work fine and receive e-mail, but document libraries and custom lists do not.
If I now just copy an eml file to the drop folder I am getting the:
07/23/2014 14:05:37.22 OWSTIMER.EXE (0x0B74) 0x0B94 SharePoint Foundation E-Mail 6872 Critical A critical error occurred while processing the incoming e-mail file c:\inetpub\mailroot\drop\emailTest.eml. The error was: Bad senders or recipients.. 9a54a79c-6234-e0d8-0000-098a51090f58
Sending an email from a standard email account, the mail file is just processed as before, and no element in the SP library.