ZakFarnworth Posted August 22, 2023 Posted August 22, 2023 Hi, I've been experimenting with Microsoft PowerApps Service. Happy with how my app has come out so far however the email formatting bit isn't as easy as I thought. When the user enters all the relevant information into the form fields, I have code that will create an email and send it through a mailbox, I would like to have the email not on one line. I have tried using variables to make the email come out as a normal looking one but I can't seem to get it to work. Here is my code (info removed) Office365Outlook.SendEmailV2( "[email protected]", "Subject: AV Equipment Booking Request", "Display Name (Requester): " & DisplayNameText.Text & Char(10) & "Location of Event: " & LocationValue.Text & Char(10) & "Date of Event: " & Text(DateEventValue.SelectedDate, "[$-en-GB]dd-mm-yyyy") & Char(10) & "Start Time/End Time: " & StartTimeEndTimeValue.Text ) The email and information works but when I receive the email, it's all on one line. Thanks, Zak
robknowles Posted August 22, 2023 Posted August 22, 2023 Hello. Have you tried using html to break into new lines, such as . When I've done it before I've inserted html to do the formatting.
clareq Posted August 22, 2023 Posted August 22, 2023 does this help? https://powerusers.microsoft.com/t5/Building-Power-Apps/New-line-in-email-body/m-p/168363#M56457 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now