cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Invocation or unknowm or unsupported function when trying to send email

Hi. Thank you for your advices before . Now I change it little bit and I have something like this :

Office365.SendEmail("michal.vasko@hatch.com", User().FullName , HtmlText1.HtmlText, {IsHtml:true})

Problem is with HtmlText1.HtmlText because it says that is invocation or unknowm or unsupported function and I cannot find the solution to this problem.

 

My HtmlText1 consist of :

<b> First Name :</b>" & DataCardValue18 & "<br>" &
"<b> Second Name :</b>" & DataCardValue19 & "<br>" &
"<b> Type of Visit :</b>" & DataCardValue20.Selected.Value & "<br>" &
"<b> SIte Status :</b>" & DataCardValue21.Selected.Value & "<br>"

But this should be fine.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Invocation or unknowm or unsupported function when trying to send email

Hi misinho7,

 

The only things I can see wrong is that your HTMLText content is missing a starting doublequote " and your're passing objects through instead of values for DataCardValue18 and 19.

 

For the text, I don't know if that's just what you pasted or actually the content, but if it is the actual content then your HTMLText control should be complaining as well. 

 

Aside from that, your DataCardValues need some actual values to pass through - i.e. DataCardValue18.Text or whatever the control offers in terms of values.  Just passing DataCardValue18 or 19 is trying to insert an object into a string...

 

Kind regards,


RT

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Invocation or unknowm or unsupported function when trying to send email

Hi misinho7,

 

The only things I can see wrong is that your HTMLText content is missing a starting doublequote " and your're passing objects through instead of values for DataCardValue18 and 19.

 

For the text, I don't know if that's just what you pasted or actually the content, but if it is the actual content then your HTMLText control should be complaining as well. 

 

Aside from that, your DataCardValues need some actual values to pass through - i.e. DataCardValue18.Text or whatever the control offers in terms of values.  Just passing DataCardValue18 or 19 is trying to insert an object into a string...

 

Kind regards,


RT

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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 (7,447)