Hi,
I am trying to send an email from a button with the formula:
Office365Outlook.SendEmail()
My table is a sharepoint list, in which we have a text-field (this can be changed if another column-type will work), where the user writes an e-mail address. I would like to be able to use the above formula to SEND to that e-mail. However, if I write the following formula, it will not send:
Office365Outlook.SendEmail(TextFieldDataCard, "Subject", "Body", {From: User().Email)
This above does not work. I have tried a variety of different ways of retrieving the datafield such as:
TextFieldDataCard.Text , Value(TextFieldDataCard.Text)
None of which work.
If I write it the following way, with: "" then it works such as bellow:
Office365Outlook.SendEmail("email@email.com", "Subject", "Body", {From: User().Email)
Is there any way to pull a written email address from any sort of field and send to a such mail?