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.

  • 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 – Robert Lindgren Aug 11 '16 at 8:12
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

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.