- home
- over wortell
- onze mensen
- werken bij
- oplossingen
- referenties
- blog
- TechReady
RT @IrisVink: Luc in de belangstelling op #WortellTR3 http://t.co/DYGLVLrS
RT @anoukvanh: Tijd voor de prijzenslag #wortelltr3 http://t.co/VOcaj7i8
Ook prijzen van onze sponsoren #polycom #quest en #jabra worden verloot! #Wortell #Techready LOTING kan elk moment beginnen #WortellTR3
Alle sessies zijn klaar! Techready 3 was weer een succes! Nu borrel en een verloting… er worden o.a. #Nokia #Lumia’s verloot…#WortellTR3
The pubic beta’s for SharePoint 2010 and Office 2010 are available now!
Today Microsoft published three videos as a Sneak Peek into SharePoint 2010:
When using SPUtility.SendEmail() to send an e-mail message from within a site on which anonymous access is enabled, you have to specify the from address.
The code in the fragment below is executed in the SendEmail method and explains why:
email = messageHeaders["from"]; if (email == null){ email = web.CurrentUser.Email;}else{ email = FoldEmailHeader(email, "from", true); count--;}
The code listed above is being executed in the SendEmail method (obtained by using Reflector). As you can see, if the “from” address is not in the StringDictionary “messageHeaders”, the from address is being retrieved from web.CurrentUser. Since anonymous access is being used, this will obviously fail.
When you’re building a WebPart that uses some of the ASP.NET validator controls, make sure you specify a validation group for all of them and for the Control firing the validation (i.e. the Submit button). Also, if you’re using a validation summary specify it’s validation group property too.