Posts

Showing posts from July, 2016

Send Email using SharePoint Rest API

We have a requirement to send email vai SharePoint Rest API. We dig and find the below solution to send email using SharePoint API.
Point Must be remember End point "/_api/SP.Utilities.Utility.SendEmail" end point to send email. In JSON __metadata we used the type "SP.Utilities.EmailProperties".The User / Group must have a read permission for particular site. where we placed this site code. JS Dependency JQuery
Code URL: https://gist.github.com/BasantPandey/05189832546f2c6cc0bd008fcfec3264#file-sharepointsendemail-js
Code varEmail=function(){// Email Either email groupname or email addressvarfrom='abc.yahoo.com', to ='abc.yahoo.com', cc ='abc.yahoo.com', subject='My Email Subject'; this.options=this.options|| {};