Geeks With Blogs

News Cloud development with Azure, Visual Studio and SharePoint Online!
Thorvald Bøe email
Send email using SendGrid
The "something-as-a-service" model is already a defacto standard in IT. If you need something to get done, there is almost certainly a service that will do that for you. As the model matures, you can sit back and rest assured that the job is done well and cheap.So when I faced the need for sending email from my web service, why did I spend half the afternoon trying to set up an SMTP server in Azure? I should have used SendGrid from the beginning!Setting up your own SMTP server for sending email may ......

Posted On Wednesday, September 9, 2015 9:34 AM

Sending email with SharePoint and jQuery
Want to send email from SharePoint using jQuery? No problem!No need to create workflows or set up SMTP servers, just use this simple function:function sendEmail(from, to, body, subject) { var siteurl = _spPageContextInfo.webServe... var urlTemplate = siteurl + "/_api/SP.Utilities.Utility... $.ajax({ contentType: 'application/json', url: urlTemplate, type: "POST", data: JSON.stringify({ 'properties': { '__metadata': { 'type': 'SP.Utilities.EmailProperties' }, 'From': from, 'To': ......

Posted On Thursday, July 3, 2014 3:58 PM

Copyright © Thorvald Bøe | Powered by: GeeksWithBlogs.net