I want to send an Email in Sharepoint online. I used the following method to send the mail using the Event reciever.
SPUtility.SendEmail(SPContext.Current.Web, headers, bodyText.ToString());
But it does not work with sharepoint online 2013. After reading in the articles I got to know that SPUtility method cannot be used. Please provide me a solution to send mail through event reciever. I am creating it as a Sandbox Solution.
Can we Use Microsoft Exchange Server? How Can I use it?
Thanks for the helps!