I have a public website made with on premise sharepoint. Can I use rest api (SP.Utilities.Utility.SendEmail) to send email with anonymous user? I am trying but didn't work.

  • 1
    Did you disable the Require Use Remote Interfaces permission in Site Settings > Site Permissions > Anonymous Access? – Mihail-Florin Popa Jun 28 at 0:07
  • @Mihail-FlorinPopa I checked and this is disabled :/ – Pedro Henrique Silva Jun 28 at 13:48
  • What value did you use for the From property? – Mihail-Florin Popa Jun 28 at 15:21
  • I use "portal@companyname.com.br", the was like this: 'From': "portal@companyname.com.br". Here the code I use to reference: gist.github.com/BasantPandey/05189832546f2c6cc0bd008fcfec3264 – Pedro Henrique Silva Jun 28 at 15:25
  • May I suggest that you update your question to include as many details as possible about your SP configuration, code snippets, error messages and what you have tried so far. This will help other people to look at your question and attempt to answer it. Otherwise we may continue to have unfruitful back-and-forths... – Mihail-Florin Popa Jun 28 at 15:43

Your Answer

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

Browse other questions tagged or ask your own question.