pnp / pnpjs

Fluent JavaScript API for SharePoint and Microsoft Graph REST APIs
https://pnp.github.io/pnpjs/
Other
740 stars 300 forks source link

sendEmail from property not working #3032

Closed gkiss02 closed 1 month ago

gkiss02 commented 1 month ago

What version of PnPjs library you are using

1.x (No longer supported)

Minor Version Number

3.2

Target environment

All

Additional environment details

I'm using the send email method authenticate with sp.

Question/Request

The email successfully delivered, but it says from SharePoint Online, and not form tester

    await pnp.sp.utility.sendEmail({
        From: "Tester",
        To: ["test@example.hu"],
        Subject: "Test",
        Body: "Hi this is a test email",
    })
patrick-rodgers commented 1 month ago

This is by-design for the service and has nothing to do with the library, we just pass the request to the server.

patrick-rodgers commented 1 month ago

Closing this issue as answered. If you have additional questions or we did not answer your question, please open a new issue, ref this issue, and provide any additional details available. Thank you!

github-actions[bot] commented 1 month ago

This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.