cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

Hi Good evening,

Does anyone know how to solve this? below is my formula when OnSelect button Yes, the requester will receive an email.

Patch('[dbo].[Request]', LookUp('[dbo].[Request]', Id = GalleryRequests_1.Selected.Id), {ApprovalStatus: "Processed", ApprovedDate: _leaveStart});
Office365.SendEmail(_selectedGalleryRequests.Requester,"RFP-Processed","Your request has been processed");
UpdateContext({varShowPopup:false})

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

The sendmail function is looking for that to be a string that contains an email address.  So I would think your To: value should be something like GalleryRequests_1.Selected.Requestor 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User II
Dual Super User II

Re: Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

The sendmail function is looking for that to be a string that contains an email address.  So I would think your To: value should be something like GalleryRequests_1.Selected.Requestor 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

@Big_S  Moved your post to the main discussion board, please check @Pstork1 suggestion. 

@Anonymous   

Highlighted
Helper V
Helper V

Re: Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

Hi Admin,

 

I'm new to this how to move?

 

Thank you,

Highlighted
Helper V
Helper V

Re: Office365.SendEmail failed: The method 'SendEmail' has an invalid value for parameter 'To'

THANK YOU SO MUCHHHHHHHH!! ❤️ i'm new to powerapps and want to learn 🙂

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,827)