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

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 271 members 4,193 guests
Please welcome our newest community members: