19
votes
Accepted
Send Emails via SharePoint CSOM
There are several alternative approaches available to send Emails.
General Email Sending method
SharePoint Client Object Model (CSOM)
SharePoint JavaScript Model (JSOM)
Using general Email Sending ...
15
votes
Accepted
REST API - Retrieve Group Members
If you want to get all the users in your SharePoint site you can use :
/_api/web/siteusers?
Update:
Try using below endpoint to get the Site Members from Members group:
_api/Web/SiteGroups/...
7
votes
Accepted
can i add a pre-set subject line in email links
Add ?subject= at the end of the mailto link and then add the subject line, replacing spaces with %20. So if you want an email link to go to [email protected] with a subject line that says "this is ...
6
votes
Accepted
How to create looping email notifications with conditions
Can u try to add a pause for 14 days before the loop 1 and add a pause for 14 days in the if condition block, under the email statement. The last pause which is already given in the workflow should be ...
5
votes
Get URL of list item attachment from Sharepoint Designer 2010
I got round this issue by using Infopath Designer to inject the filename into a "single line of text" field that my workflow could target.
The steps were as follows.
create a "single line of text" ...
5
votes
how to send a link to the edit view of a list item from a workflow
I have just found a rather simple, yet brilliant, solution here
Basically, in the hyperlink editor add the following:
[%Current Item:Encoded Absolute URL%]/../EditForm.aspx?ID=[%Current Item:ID%]
5
votes
Is there a way to make a workflow run every Monday?
I wouldn't do this with workflow, I would do this in a PowerShell script that runs on the server, set it up in a Task Scheduler, and let it run every Monday. The script would kick off the workflow ...
4
votes
How to change workflow email sender name
You can't, at least using an SPD workflow. You could always as VS workflow, or write a custom workflow action in VS.
See more here.
Update (2 June 2016) : Although i was agree till yesterday that ...
4
votes
Accepted
Announcement strips domain name from link
Here's an example of using a 2013 workflow step to read the Announcment body into a variable called Body, use a "Replace Substring In String" action to replace the text 'href="/' with 'href="http://...
4
votes
Workflow doen's send email to person field
Just resolved my problem.
If you want to send an email to user in person field, the recipient configuration should look like this:
4
votes
Find email source of all generated email by SharePoint
Alerts - OOTB method
To view alerts for other people, you must be a site owner.
Click the Site Actions menu and then click Site Settings.
On the Site Settings page, under Site Administration, click ...
4
votes
Accepted
SharePoint Email Functionlity -Javascript
Just add to your properties.
'CC': {
'results': [CC]
},
I hope it helps.
MSDN Reference
4
votes
Accepted
Environment not sending mail
Make sure that your SharePoint server are registered for smtp rely to send the emails.
Also check if there is any firewall blocking issue between SharePoint and new smtp servers.
Try to send the ...
4
votes
How to send email at specific time everyday in Sharepoint workflow?
There is way of doing it but it will pause your workflow for 24 hours everyday.
In my workflow, I have taken three stages.
We check the condition for entering into the workflow and pause for
the ...
4
votes
Accepted
Sent too many emails to myself through workflows, Flagged by MS.
We faced a similar issue today, all the O365 workflows (sending emails and tasks creation) suddenly stopped working showing the below mentioned error message
(Error: SmtpException while sending email:...
4
votes
Accepted
sp.utilities.utility.sendemail + how to send email to multiple users
The format of your "To" variable must be an Array witch contains emails (or domain\login).
Here, you pass a string witch contains email separated by comma.
Try somthing like :
var recipients = ["a@...
4
votes
Accepted
Displaying the value of a list column in a workflow email?
There is a space between Item: and Title%!
You should use it without space like this [%Current Item:Title%]
Below is the correct way to get instead of adding it manually
At subject, Click on eclipse ....
3
votes
SharePoint add "Everyone" or "Everyone except external users" where does this email go?
Actually, SharePoint does not email the Everyone or the Everyone except external users. This is by design and has nothing to do with the user info list. More information can be found here: https://...
3
votes
Approver comments in workflow emails
As u said ur using an sp2013 custom wf.
So, lets follow some steps to get the easy solution.
Create a column as named 'parentId' in task list.
When ur emailing with the approver msg, get the ...
3
votes
Accepted
SP.Utilities.Utility.SendEmail "To" must be different format for some users
Searching users in powershell would return two users for some people. Using the cmdlet:
Get-SPUser -web http://somesite.com | ?{$_.DisplayName -eq "john doe"}
Results:
UserLogin ...
3
votes
Accepted
Use exchange server for sharepoint
If you have exchange server in place then it is very much easy to configure the SharePoint outgoing's email. You dont need to enter the credential to configure the outgoing email.
For sharepoint 2013:...
3
votes
_api/SP.Utilities.Utility.SendEmail does not work with users without authorization on the current site
It is limitation of SharePoint Utility send email function.
It will send mail only to those user who are known to site collection. It means those users who are in User Infoation List which is at site ...
3
votes
Sending email in Sharepoint 2016 online without using workflow
It really depends on what you're trying to send. But as default - when outgoing e-mail setting is configured, users can subscribe to a list or library. When they do, and the criteria is met, an e-mail ...
3
votes
When a list is saved, i want to send an email to a person entered on the list
First, hide fields that filled by their supervisors from users. And make one field which is called Status(Approve,rejected). And do approval list workflow. Like this
If current item:is request sent? ...
3
votes
How to send email at specific time everyday in Sharepoint workflow?
if you are using On Premise version of SharePoint, Please follow the below steps
Create a powershell script file to run the workflow against all
items. please find the sample below
$web = Get-...
3
votes
Accepted
What are the approaches we can follow to define a timer-job-liked which checks our sharepoint online lists
You should run your job in any cloud-based service, which supports scheduled runs. It might be AWS (Amazon Web Services) or Azure. Azure is a better choice because it's .net based, Microsoft backed, ...
2
votes
Why are outgoing e-mail alerts not sending?
I finally fix this after following steps
in my case initial confirmation emails was sending but future change alerts were not
allowing all sharepoint servers in the farm to relay email in Exchange ...
2
votes
Send invitations to Outlook with ICS format from a SharePoint Calendar List
Maybe not a direct answer to your question, but maybe this will help you anyway and it might suffice in your scenario.
If you have an event in a calendar list, you can simply call this URL (example ...
2
votes
How to change workflow email sender name
Actually, the easiest solution is to just rename the TITLE of whatever subsite the List lives in that your workflow is sending from to whatever you wanna show up in the email sender field! It (...
2
votes
Send Email from CSOM
This is not a direct answer to the question, I am describing how we have solved this issue.
Change your app to provider hosted so that you can handle remove event receivers (RERs) (other parts remain ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
email × 803workflow × 252
sharepoint-online × 105
2010 × 103
sharepoint-designer × 93
2013 × 80
list × 70
alert × 68
designer-workflow × 57
sharepoint-enterprise × 43
document-library × 32
sharepoint-server × 28
2007 × 27
outlook × 25
tasks × 24
notifications × 23
sharepoint-email × 22
attachments × 21
development × 20
sharepoint-foundation × 20
infopath × 20
incoming-email × 19
office-365 × 18
flow × 18
javascript × 16