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.

Madhav
  • 1,494
  • 1
  • 16
  • 26
  • 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 08:12

1 Answers1

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

SID
  • 514
  • 1
  • 4
  • 13