Forum Discussion
Cardinal_Night
Oct 28, 2020Copper Contributor
How would I add error handling to this sp.utility.sendEmail?
This function sends an email using the sp.utility.sendEmail from pnp.sp: public email1 = () => {
const emailProps: IEmailProperties = {
To: [this.props.pnltoemail1,this.props.pnltoemail2,t...
Sangay
Apr 09, 2022Copper Contributor
Cardinal_Night did you find the solution for your issue. I am also trying to send email using @pnp/sp
but I am getting error:
"StartObject' node was found when reading from the JSON reader. A 'StartArray' node was expected."
Please share the answer if you solved it.