cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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 III
Dual Super User III

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 III
Dual Super User III

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
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published 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 (9,413)