0

I am working on a remote event receiver for our SharePoint online site collection, the remote event receiver is implemented as a provider hosted app hosted inside Azure WebApp. now inside the remote event receiver i want to send emails, but i am not sure how i can do so? in the server-side event receivers i use to use the .net MailMessage, but in the remote event receiver what i need to use?

2

You can use the same System.Net.Mail.MailMessage class and just supply your outbound SMTP configuration.

How you configure your SMTP service is out of scope of this network, though. If you don't have an available SMTP service/server, you may want to post over at ServerFault.

| improve this answer | |
  • can you please provide more info on what i need to supply? – SharePoint TestDev Apr 10 at 9:21
  • What specific questions did you have about the function (this should be posted over at StackOverflow for usage...)? – Trevor Seward Apr 10 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.