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?

1 Answer 1

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.

2
  • can you please provide more info on what i need to supply?
    – John John
    Apr 10, 2020 at 9:21
  • What specific questions did you have about the function (this should be posted over at StackOverflow for usage...)?
    – user6024
    Apr 10, 2020 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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