Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was wondering if you could write an sandbox solution using the SPEmailEventReciever class. In the SharePoint SDK documentation it says that the SPEmailEventREciever is not avaliable for use with a sandbox solution, but I found in another piece of document SharePoint that list all class avaliable for sandbox solutions it shows that the SPEmailEventReciever is avalaible for use. Help?

SPEmailEventReciever class http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spemaileventreceiver.aspx#2

Microsoft.SharePoint.dll APIs That Are Available from Sandboxed Solutions http://msdn.microsoft.com/en-us/library/ee537860.aspx#BKMK_AvailClasses

share|improve this question

1 Answer 1

up vote 1 down vote accepted

No it is not unfortunately, again according to MSDN documentation!

Screen capture MSDN

Even tried - it doesn't get accessible

enter image description here

share|improve this answer
    
That's what I thought, but the second link tells me that the class is accepted for sandbox solutions. msdn.microsoft.com/en-us/library/… –  Brandon Michael Hunter Sep 7 '12 at 16:19
    
..but is also states that several members might be unavailable and you should check, also because certain members in this assembly behave differently than members in other assemblies of sharepoint –  C. Marius - MVP Sep 7 '12 at 16:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.