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
Super User
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.
4 REPLIES 4
Super User
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.
Administrator
Administrator

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!! <3 i'm new to powerapps and want to learn Smiley Happy

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 550 members 5,949 guests
Please welcome our newest community members: