Sunday 16 December 2007

Custom document libraries cannot be email enabled

If you create custom document libraries which are not of the type=101 then you cannot email enable these document libraries. We did some research with reflector to find out why:

When SharePoint checks if a template can be email enabled it checks "SPList.ServerTemplateCanReceiveEmail". If we look at the code of that function we can see that email enabled lists are not supported on Meeting Workspaces and that the templateType is checked trough "SPEmailHandler.HasHandler(templateType)"



If we look at the code of "HasHandler" we can see that only 4 listtemplates can be email enabled : Announcements, Events, Document Libraries and Posts (blog).

And we are not so happy with that ... We will need to go for a workaround ...

16 comments:

Anonymous said...

Hi, what kind of work around did you end up doing for this?

Bart Vandenheede said...

We have created a standaard document library that can be email enabled and in the emaileventreceiver we wrote code to store the documents in the custom document library. So the standard document library is only used to reroute the documents/emails.

What you also can try to do is create your own custom document library with TypeID=101 but i have not tested that one ...

Anonymous said...

Can you help me with emaileventreceiver. I have error "Cant load type" for my email handler

Custom Paper Writing said...

Many institutions limit access to their online information. Making this information available will be an asset to all.

Anonymous said...

california car insurance quotes mi auto insurance quotes

Anonymous said...

Hi,

I begin on internet with a directory

Anonymous said...

A comprehensive suitableness program tailored to an individual will very likely pinpoint on one or more definitive skills, and on age-[3] or health-related needs such as bone health.[4] Numberless sources[citation needed] also cite disposition, common and heartfelt health as an substantial vicinity of overall fitness. This is often presented in textbooks as a triangle made up of three points, which show solid, nervous, and loony fitness. Incarnate well-being can also hamper or investigate various persistent health conditions brought on by ailing lifestyle or aging.[5] Working discernible can also refrain from people snore better. To visit healthy it is mighty to engage in physical activity.
Training

Specific or task-oriented [url=http://www.pella.pl]fitness[/url] is a living soul's talents to complete in a specific vigour with a reasonable know-how: seeking sample, sports or military service. Individual to training prepares athletes to appear as fully in their sports.

Examples are:

400 m sprint: in a sprint the athlete should be trained to line anaerobically throughout the race.
Marathon: in this what really happened the athlete must be trained to production aerobically and their tenacity ought to be built-up to a maximum.
Many alight fighters and patrol officers undergo level fitness testing to end if they are skilled of the physically taxing tasks required of the job.
Members of the Partnership States Army and Army National Guard have to be masterly to pass the Army Tangible Competence Try out (APFT).

Anonymous said...

I just could not depart your site prior to suggesting that I really enjoyed the standard information an individual provide to your visitors?
Is going to be back continuously in order to investigate cross-check new posts
My web page : windows registry cleaner

Anonymous said...

buy tramadol with mastercard buy tramadol overnight delivery - tramadol without prescription

Anonymous said...

http://www.achildsplace.org/banners/tramadolonline/#9699 buy tramadol without rx - buy tramadol in florida

Anonymous said...

cytotec 200 mg notice - generic cytotec 200 mcg - cytotec 25 mg

Anonymous said...

generic cytotec for abortion - buy misoprostol 200 mcg - cytotec purchase

Anonymous said...

играть в казино аляска or онлайн казино wmr or онлайн-казино грандмастер or казино онлайн с минимальным депозитом or рулетка онлайн бездепозитный бонус or играть в рулетку на фантики

Anonymous said...

buy real ambien can i buy ambien at walmart - buy ambien mexico

Anonymous said...

buy ambien cod where can i buy ambien in canada - buy ambien without rx

Anonymous said...

играть в казино онлайн без регистрации or казино онлайн eurogrand or казино онлайн заработать or казино онлайн ютуб or рулетка онлайн при регистрации бонус or как играть в рулетку по скайпу