I want to send the email when a SharePoint list item is added and have several questions on how to process.
Office365.SendEmail(DataCardValue17.Selected.Email,"TEST","TEST");Navigate(MainPage,ScreenTransition.Fade); ResetForm(FormCreateTravelRequest)
The service returned an error: Office365!SendEmail: The method ‘SendEmail’ has an invalid value for parameter ‘To’Here is the pic:
DataCardValue17.Selected.Email
Office365.SendEmail(Label1.Text,"TEST","TEST");Navigate(MainPage,ScreenTransition.Fade); ResetForm(FormCreateTravelRequest)
The service returned an error: Office365!SendEmail: {“status”:404,”Message”:”User account does not exist”,”source”:”127.0.0.1”}Here is a pic:
I thought maybe its because it has mail.onmicrosoft.com suffix, even though I tried to send myself an email with the mail.onmicrosoft.com and it worked same as just using my real email address. To remove that I changed the text function of the label to:
Substitute(DataCardValue17.Selected.Email,"mail.onmicrosoft.com","ca")
However, this still produces same error (User account does not exist)
So now I am at a loss, what I am doing not right when trying to send the email?
Is writing this function enough?
Office365.SendEmail(Label1.Text,"<b>HTML TEXT</b><br><em>Hello World</em>","TEST",”isHtml:true”);
Does 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?
Any help really appreciated!
Solved! Go to Solution.
I'll explore the option with Flow. I'm also integrating this powerapp onto a sharepoint page so that might be better anyway. Thanks tomgardzinski.
Hey there you can use concat function to solve it. Save your mail in a Collection and Office365.SendEmail(Concat(Mail;Email;";");"TEST";"TEST").
It works ^^
Hello there, I know its an old thread, but i have a quick question. can you send an email from a mail distro as "Send As"?
Thanks
User | Count |
---|---|
183 | |
124 | |
88 | |
45 | |
42 |
User | Count |
---|---|
248 | |
159 | |
127 | |
78 | |
73 |