cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
RusselThomas
Microsoft
Microsoft

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
RusselThomas
Microsoft
Microsoft

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,997)