The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
85 views

Cannot send Email to Exchange Distribution list

I have this (shortened) piece of code, which does not work like it should and I can not figure out why: SPGroup group = web.SiteGroups["Some Notification Group"]; foreach (SPUser user in group.Users) ...
0
votes
0answers
99 views

Localizing SharePoint 2010 webpart custom property default value

Some info: farm solution, all operations are run under farm account with site collection admin privileges. The appPool also runs under this account. I'm trying to localize default value of my custom ...
0
votes
1answer
19 views

How to get GetLocalizedstring for announcement list

I am trying to add xsltlistviewwebpart and it has to be from announcement list. How to write this line? string str = "$Resources:??";//How to get announcement list reference here? public static ...
0
votes
1answer
96 views

SPUtility.SendEmail doesn't exist

I'm trying to send an email with sharepoint's SPUtility.SendEmail() method, but according to Visual studio it doesn't exist. I have using Microsoft.Sharepoint and .Utilities included, but still ...
0
votes
1answer
238 views

SPUtility.SendEmail() always returns false

I have one application which will create task form for each level based on the prior level approval. While creating each tasks I have to send the email to the users who all are involved in the task. ...
1
vote
1answer
721 views

How to send email with attachments in SharePoint 2013?

I am using SharePoint 2013 to implement a custom workflow application. During one of the state transitions, I want to send an email to people who are part of a certain group with a zip file of ...
6
votes
1answer
1k views

SPUtility.SendEmail() with attachment (.ics files)

We send the email from SharePoint by using SPUtility.SendEmail() method. But, now I need to attach multiple .ics file (Outlook meeting requests) with this email. I have only one option, I have to ...
3
votes
1answer
455 views

SPUtility.SendEmail returns false when invoked in asmx

I have a function inside an asmx page which needs to send an email, but SPUtility.SendEmail returns false. SPContext.Current is null, so I create an SPSite object with the site url, and from that, I ...
1
vote
1answer
719 views

SPUtility.SendEmail works but will not send links

In SP 2010, I'm using SPUtility.SendEmail and it is working fine except for sending links. In the body string argument, I input "<a href=\"http://www.google.com\">Click me</a>" It ...
0
votes
1answer
263 views

The name 'SPUtility' does not exist in the current context

I am using the following code in my page layout file but I am getting error. CODE <%= SPUtility.GetLocalizedString("$Resources:NewsHeading", "myresourcefile", ...
2
votes
2answers
2k views

Sending richText format in email (currently using SPUtility.sendemail)

I have a list field that contains hyperlinks and richtextformat. To send the emai I am using Spweb web = spcontext.current.web; StringDictionary headers = new StringDictionary(); ...
2
votes
1answer
964 views

SPUtility.GetPrincipalsInGroup not working with every AD Group

I'm currently having an issue with SPUtility.GetPrincipalsInGroup, I've search here and on Google but I haven't found any explication for this behavior. I use the method to list Users that are part or ...
3
votes
3answers
4k views

Get User Profile from email address

I was using SPUtility.ResolvePrincipal to resolve the email address but it only seems to work if the user is already in the User Information List. Is there any way I can resolve users based on email ...
3
votes
2answers
3k views

SPUtility Sending Email with display name

I'm writing a timer job which once complete it sends out an email from noreply@company.com, when it arrives in outlook it shows that address as the from person. Is there a way to get it to display a ...
0
votes
1answer
683 views

programmatically get IDs of list from urls

Is it possible to retrieve the ID of a list or library with a url? For example, http://MyPortal/MySubsite/MyDocuments/Forms/AllItems.aspx If so, please provide me with some sample code. Many ...
1
vote
1answer
1k views

Not getting the resource of specific variation

Actually this is a double question, 1 I'm trying to get the right variation from the following code: SPUtility.GetLocalizedString("$Resources:MyDefaultResourceFileName,MyWantedValueKey", ...
12
votes
3answers
3k views

Client Object Model equivalent of SPUtility.SendEmail in SharePoint 2010

I am trying to send an email after an action occurs in Silverlight WebPart I am designing. Is there a built-in class in the Client Object Model that can handle this, or will I have to build a ...
1
vote
2answers
578 views

Unable to load 'onetnative.dll': The specified module could not be found

This question arises as a result of this question, but I thought I would split it out into its own. Anything using SPUtility.GetGenericSetupPath() is returning null, e.g. ...