3

I want to create a simple SharePoint hosted app which will send an email to any email id,I followed how-to-send-email-with-attachment-through-sharepoint-hosted-app which is feasible to send mail but to SharePoint user only.

So I was thinking to use remote event receiver for this purpose if it is possible.

1
  • For remote event receivers you would need a Provider Hosted add-in, not a SharePoint Hosted. From that you can send email via SharePoint CSOM in C# or through standard .Net SMTP Commented Aug 11, 2016 at 8:12

1 Answer 1

2

Please refer this link to send Email and particularly refer section "Using General Email Sending Method" to send mail with attachment and to any user. enter image description here

0

Your Answer

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

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