since if one is blank, the entire syntax fails as it cannot process blank values when sending the data to Office 365 Exchange for the TO Field. I still strugle with another part: If I have two labels and one is blank, how can I use the TO field without using If's. See if using the app by Opening it, will still cause the error, if yes, try the solution with the label and using Label.Text to import that value into the email. In studio sometimes the values are not imported properly while using the app live, works as it should. I have noticed that there are some diferences between using the Studio and the Live app. So you can either make a label take the value and then import the value from the label in the Office365.SendEmail syntanx OR just try the app and it will work. When you are in edit mode, if you navigate to that screen without actually selecting the dropdown, it doesn't "see" the value, even though the same value in a label works. Office365.SendEmail(Label1.Text,"HTML TEXTHello World","TEST",”isHtml:true”) ĭoes it matter that I put all HTML in the Office.SendEmail() function, would it be better if I added an HTML text control and made it hidden and then just linked it to the function? How would I have to change the Office365.SendEmail() to do that? So now I am at a loss, what I am doing not right when trying to send the email? However, this still produces same error (User account does not exist) To remove that I changed the text function of the label to: Substitute(,"","ca") I thought maybe its because it has suffix, even though I tried to send myself an email with the and it worked same as just using my real email address. The service returned an error: Office365!SendEmail: Here is a pic: I tried to run it again and now I get this error: Office365.SendEmail(Label1.Text,"TEST","TEST") Navigate(MainPage,ScreenTransition.Fade) ResetForm(FormCreateTravelRequest) To test if it would work I changed the OnSuccess function to: Now I thought maybe it is not pulling the email correctly from the form field, to test that out I created the Label1 and its text changed to: The service returned an error: Office365!SendEmail: The method ‘SendEmail’ has an invalid value for parameter ‘To’Here is the pic: When I run the app and the form I get the following error on the Office365.SendEmail() function: Office365.SendEmail(,"TEST","TEST") Navigate(MainPage,ScreenTransition.Fade) ResetForm(FormCreateTravelRequest) I have this function in the OnSuccess trigger of the form:
0 Comments
Leave a Reply. |