The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
33 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 ...
2
votes
1answer
292 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
205 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
329 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
125 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
968 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
655 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
2answers
2k 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
2k 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
582 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
922 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
2k 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
544 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. ...