Hi, I am in need of a way to extract a user inputted email address to then email a powerapps form content to. It seems you can't just call the field into the 'SendEmailV2' function. Has anyone come across this before? any help would be much appreciated Thank you
Solved! Go to Solution.
Post the code you've tried. We cannot help if we can't see any code.
Also, you can reference a Text type data field in the SendEmailV2 function so is your field of type Text or are you trying to reference a different field type?
in the 'OnSelect' of the powerapp form I have...
SubmitForm(Form1);Office365Outlook.SendEmailV2("xxxxxx.Anthony@xxxxxx.qld.gov.au", "Authorising Officer Email address_DataCard1","Req Copy of Contact Information from Policelink",HtmlText5.HtmlText);
I think its a text type field.
Just trying to retrieve a typed in email to then send a copy of the powerapp submmission to the inputted email.
Seems you are trying to send an Email to 2 email addresses, is that correct? If so, try this
SubmitForm(Form1); Office365Outlook.SendEmailV2( "xxxxxx.Anthony@xxxxxx.qld.gov.au" & ";" & 'Authorising Officer Email address_DataCard1'.Text, "Req Copy of Contact Information from Policelink", HtmlText5.HtmlText );
please refer to the text property of the input text control:
Authorising Officer Email address_DataCard1.Text
Also you need to refer to a property in case of the ”Req Copy of Contact Information from Policelink" control.
Hope it helps !
Doesn't like the .Text , I get an error message "Name isn't valid, 'Text; isn't recognized.
the field it's supposed to be getting the email address from is just a 'simple line of text' field
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for the next call on June 15, 2022 at 8am PDT.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.