cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Big_S
Level: Powered On

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

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

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

TopShelf-MSFT
Level 10

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. 

@TopShelf-MSFT   

Big_S
Level: Powered On

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,

Big_S
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,106)