0% found this document useful (0 votes)
91 views1 page

Solved New Line in Email Body - Power Platform C

The document discusses how to insert a new line in the body of an email using Power Apps. Users share various methods, including using Char(10) and Char(13) for line breaks, as well as the MailTo syntax with %0D%0A for proper formatting. The conversation includes troubleshooting tips and examples of email body formatting in Power Apps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views1 page

Solved New Line in Email Body - Power Platform C

The document discusses how to insert a new line in the body of an email using Power Apps. Users share various methods, including using Char(10) and Char(13) for line breaks, as well as the MailTo syntax with %0D%0A for proper formatting. The conversation includes troubleshooting tips and examples of email body formatting in Power Apps.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Power Apps

Register · Sign in · Help · Go To 

Search all content

New line in email body

Reply Topic Options 

bongobus1
Helper I

New line in email body


10-16-2018 08:13 AM

How do I get a new line in an email body as


don’t like the long line of information

Solved! Go to Solution.

Labels: General Questions

Message 1 of 20 (60,379 Views)

 1 Reply

All topics  

1 ACCEPTED SOLUTION

bongobus1
Helper I

10-16-2018 12:07 PM

 solved
View solution in original post

Message 2 of 20 (57,982 Views)

 0 Reply

19 REPLIES

bongobus1
Helper I

10-16-2018 12:07 PM

 solved

Message 2 of 20 (57,983 Views)

 0 Reply

Anonymous
Not applicable
In response to bongobus1

11-09-2018 03:03 AM

@bongobus1 How did you solve it?

Message 3 of 20 (57,956 Views)

 0 Reply

bongobus1
Helper I
In response to Anonymous

11-09-2018 03:25 AM

Char(10)

Message 4 of 20 (57,951 Views)

 2 Reply

Anonymous
Not applicable
In response to bongobus1

11-09-2018 03:38 AM

Thanks for the fast reply! @bongobus1

Trying Char(10)
Can you see where I'm going wrong?

Launch("mailto:[email protected]
&subject=Subject Line
&[email protected]
&Body=FAO Reservations," & Char(10) & "Please c

 Char10.…
115 KB

Message 5 of 20 (57,948 Views)

 1 Reply

OneThing
Continued Contributor
In response to Anonymous

11-09-2018 03:56 AM

Hi @Anonymous,

I'm not sure how Bongo resolved the issue


himself but there are a few ways to do this.

In the most basic way you can Just press Ctrl +


Enter when typing out the email, e.g.

"new" & "


" & "line"

Failing that you can add a propper CRLF with :

Char(13) & Char(10)

If you are needing something more complex,


then you can Generate the email using a
hidden HtmlText Box. If you are
comfortable with HTML. You can then add a
<br/> tag to allow a new line.

example from one of my Apps

CourseGallery.Selected.Course_Title & "<br/>


ID: " & CourseGallery.Selected.ID & "<br/>

You would then have to use the IsHTML: to


send the email:

Office365.SendEmail(
[EmailAddress],
[Subject],
HtmlText1.HtmlText,
{
Importance: "normal",
IsHtml: true
}
);

Thanks,
Nicky

Message 6 of 20 (57,944 Views)

 2 Reply

bongobus1
Helper I
In response to Anonymous

11-09-2018 03:56 AM

Here’s an example that works for me -

Office365.SendEmail(“theemailaddress”,TextIn
put1.Text,Char(10) & TextInput2.Text &
Char(10) & “My contact details are = “ &
TextInput3.Text) ;
Reset(TextInput1);Reset(TextInput2);Reset(Text
Input3);Notify(“Thankyou for your
email”,Success)

Sometimes it’s a little thing like a comma or


end bracket omitted or in the wrong place
that causes the issue

Message 7 of 20 (57,944 Views)

 0 Reply

OneThing
Continued Contributor
In response to Anonymous

11-09-2018 04:04 AM

Hi @Anonymous

Char(10) is a Line feed. While Char(13) is a


carriage return.

Different programs handle them differently so


out look will probably work with a Char(13)
better.

Its good practice to use both though with a


Char(10) & Char(13)

for more info :

Carriage return is from the days of the teletyp


the next line, and push the paper up. This is w

Line feed LF signals the end of the line, it si


line. In other words, it doesn't "return" the c

Thanks,
Nicky

Message 8 of 20 (57,941 Views)

 1 Reply

Anonymous
Not applicable
In response to OneThing

11-09-2018 04:32 AM

Hi Everyone

Thank you for all your replies


We haven't got full Office365 integration here
at work, so I can't add the Office365 or
OutLook connectors
Hence why I'm using the Launch() function

I feel really stupid though, because I keep


trying your suggestions but whatever I do the
body still all comes out on one line?

Launch("mailto:[email protected]
&subject=Subject Line
&[email protected]
&Body=FAO Reservations," & Char(13) & "Please c

 Char13.…
114 KB

Message 9 of 20 (57,937 Views)

 0 Reply

OneThing
Continued Contributor
In response to Anonymous

11-09-2018 05:52 AM

Hi @Anonymous

The Launch command works a little different


as you are now using the MailTo: syntax which
has its own peculiarities

In this case use %0D%0A To fix your issue.

Launch("mailto:[email protected]
&subject=Subject Line
&[email protected]
&Body=FAO Reservations,%0D%0A Please can I book

Here is the full spec including examples in


case you have any other issues using
Mailto: https://tools.ietf.org/html/rfc2368
Thanks,
Nicky

Message 10 of 20 (57,941 Views)

 0 Reply

1 2 

Helpful resources

Announcements

Power Apps Week Recap:


Everything We Covered This…
Weeka for
That's #MPPC23
wrap! If you missed any of this
week's exciting #PowerApps content, a…
the links are available below for you to
catch
Power up:Apps
· Power VPAppsRyan Demo:
https://lnkd.in/gEVNxdfR MPPC23
Cunningham Reveals Exciting…
Sessions: https://lnkd.in/gDwvJPNY Ryan
News
Hear About
from
Cunningham: His Session
#PowerApps Vice at
https://lnkd.in/g2YFU3nj
President,
#MPPC
And be sure Ryan Cunningham,
to click as he…
the link below to
breaks down some of the
check out David Warner's #MPPC23 exciting news
he plansalongside
Product
Session toWeek
deliverLisa
|inPower
his "Power
CrosbieApps Apps
and
Roadmap
Shane - Innovation
Young! "Canvas Appsin thevsAge of AI"
Model
Week
session
1 is Live!
at theTheMicrosoft Power Platform
Driven Apps: Ultimate
Hear from
Conference! this week's host,toDavid
Showdown"WeClick hopeHEREto see findall
you outin
Warner,
more Community
about Ryan's Program
session Manager
Vegas! Register for the Power Platform
at
at Microsoft,
#MPPC23today! on all thetoday
Register content
for we
the hav…
Conference
coming
MicrosoftupPower
for you over the
Platform next week
Conference
Power
and Platform Product
get excited about the Microsoft
- https://powerplatformconf.com/ Weeks
2023
Power Platform Conference. Register
Today
Exciting news! On Monday July 24th,
-we
https://www.powerplatformconf.com#microsof
launch a new series called Microsoft
Power Platform Product Weeks! Over t…
next six weeks, our Power Platform
Microsoft
Community LinkedIn Power page Platform
will be |
2023 Release
posting daily to share Wave great 2 Plan
content on
the
Check Power
out thePlatform
latestand what toPower
Microsoft expect
at the upcoming
Platform release plans Microsoft Power
for 2023 that jus…
Platform Conference.
dropped TODAY! We have a whole Hosted weekly
by
host David
of Warnernew
exciting II, April
features to help you
July
Dunnam, 2023 Community
Heather Cook, Kelly Kaye
be more productive, enhance
Newsletter
Salmick,
delegation, Kendra and Upcoming…
Springer,
run automated and Phil build
testing,
Events
Topness,
Welcome
responsive there'll
topages, beand
our July a2023
great range
Newsletter.
so much of
more.
Power
Here we
Click the Platform
highlight
links below demos, exciting
thetolatest
see news,…
not MPPC23
only our
speaker
releases, session
upcoming previews,
events,
forthcoming releases, but to also try out plus
and special
the great
messages
work
some of of our
thefrom newsome
Power of our
Platform
features that product
Community
have
leaders
members. Ryan If Cunningham,
you're new
recently been released to market to Stephen
this LinkedIn
Siciliano,
group, Sangya
across: be Powersure toApps Singh,
subscribe Omar
Power to News Kim
Aftab, &
RecommendationsManis, and
Announcements Nirav
Automate PowertoVirtual Shah.
stay upCheck out
to date
Agents the
with
Power
full
the
Pagessix-week
latest
Wenews schedule
can’tfromwait our below: Every
ever-growing
to share with you
Wednesday
all the upcoming releases that willofhelp
Community! we'll
LATEST highlight
NEWS some
Community the
Subject great
Giveback
take yourspeaker
FINAL
Power sessions
CALL-
Platform youexperience
should
Submissions Posted
look
END
to
out for
Saturday at MPPC23,
July 15th! including:
Please
the next level! Check out the entire hurryPowerand
Apps:
submit
Release Kylie
your
Wave: Kiser,
video Tomasz
Powerentry for a free
Platform pass
Complete
 Poszytek,
for Aaron
the Microsoft
Release Rendell,
Planner Power Platform Miti J., Ryan
Cunningham, in Leon WelickiPower
 Create nice Conference Las Vegas, Oct. 3-5. Enter
line
Automate:breaks in email body 
the Community Giveback Vlad
Elaiza Benitez, competition
Catrinescu,
by end of day Laura
Sat.Rogers,
15th July Stephen
for a chance
02-08-2023 09:46 AM
Siciliano, Anjli Chaudhry,
to win a free #MPPC23 pass! Submit Derah
Onuorah,
Entry HereAshvini Integrate Sharma, Harysh
Microsoft Sentinel
MenonPower Pages:
& Power Platform Check out Simran Ulrikke
Akerbæk,
Kaur (Akali) Vivian Voss,great
Chadha's Sangya blog on how
 Singh, Dipti Jaiswal, Vamsee
you can now use #MicrosoftSentinel Dilli, Bobby
to
Bhamra,
monitor Saumitra
andformatting
protectNanda, Priya
 MS Flow Email body 
VaidyanathanPower
your #PowerPlatformVirtual products:Agents:ReadDian
it
Taylor, Uday Kokatla, Omar
Introduction to Microsoft Fabric -
11-12-2018 04:42 AM
Aftab,
Webinar Dewain
LearnRobinson, Kendra
about #MicrosoftFabric -
Springer, Gary Pretty, Salem
an integrated and simplified experience BachaPower
BI:
for Daniel Glenn,workloads
all analytics Shabnamand users on
Watson, Nikola Ilić, Josh
an enterprise-grade dataCaplan, Phil

Seamark,
foundation. Amanda
Click hereRivera, Chris
to find out more
 Failing to send
today. bodyUPCOMING
HamillDataverse: of the received
Vivek EVENTS Kylie
Bavishi, email
Microsoft
Kiser, Chris Piasecki, Sameer
Inspire - Online - Tuesday 18th July,
in html...  Chabungbam,
2023 #MicrosoftInspire Nathan Helgren,kicks offJocelyn
on
Panchal Come join us
Tuesday 18th July at 8.15am PST. Have on the Microsoft
03-03-2023 04:11
you PM
Power Platformyet?
registered Community
This FREELinkedIn
online
page on Monday 24th
event starts with an exciting KeynoteJuly for Power
Apps Week, hosted
from Judson Althoff by and David
SatyaWarner II,
and clickfollowed
Nadella, this link to byregister
talks from for the
the likes
 conference:
of Nicole Dezen, RegisterAlysa forTaylor,
MPPC23. VasuWe
can't wait to see you in Lasmany
Vegas this
 Help ParsingJakkal,
Email
October
Jared
Body Spataro,
 and more.
Click here2023! to register today and join us
to learn how to accelerate your AI
12-10-2020 10:47 AM
transformation, drive customer success,
and fuel your business growth!
Microsoft 365 EduCon - Seattle - August
21-25th, 2023 It's not long now
 till Microsoft 365 EduCon, taking place in
 HTML tableSeattle
in Email Body 21-25th,
on August  2023. This
exciting in-person Conference brings
together
09-29-2022 07:44 AM experts in Microsoft 365,
SharePoint, Power Platform, Microsoft
Teams, and Azure, with content
designed to fit your experience level and
area of interest, featuring a virtual who's
Top Solution Authors
who of speakers (Last and Month) sessions. Find out
more about #365EduCon and register
for what is sure to be an exciting event
in the Community calendar: click here for
WarrenBelz 128
more info! Microsoft Power Platform
Conference - Las Vegas - October 3-5th,
2023 Tickets are flying out for
the Microsoft Power Platform
iAm_ManCat 99
Conference, with the event this year
being held on October 3-5th at the
MGM Grand in Las Vegas! Come and get
LaurensM
inspired by Microsoft’s senior thought 78
leaders, software engineers, and
community experts, with guest speakers
including Charles Lamanna, Heather
Amik Cook, Ryan Cunningham, Sangya 70
Singh, Stephen Siciliano, Julie
Strauss, Nirav Shah, and many more.
Click here to register today: Power
madladPlatform Conference COMMUNITY 64
HIGHLIGHTS Check out our top Super
and Community Users reaching new
See all ≫
levels. These hardworking members are
posting, answering questions, kudos,
and providing top solutions in their
communities. Great work, team! Power
Top Kudoed Authors
Apps: Super (Last Month)
Users: @WarrenBelz @timl
Community
Users: developerAJ, Amik, Ethan_R @developerA
Power Automate: Super
WarrenBelz  199 @Ps
Users: @SudeepGhatakNZ @Expiscornovus,
Community
Users: @Nived_Nambiar, @ManishSolanki
timlPower Pages: Super
Users: @ragavanrajan Community 116
Users: @saudali_25, @Lucas001, @chleverenz, @
Power Virtual AgentsCommunity
LaurensM
Users: @ManikandanS, @LucasConekta, @MattJ
 108
@RobertMatthew1

madlad  100

Amik  98

See all ≫

Users online (10,794)

Top Tags

PowerApps SharePoint Gallery

filter Patch Power Apps Collection

Bug Combobox Lookup

SharePoint list dropdown PA Help

Canvas App Forms PA Updates

Collections form Error

Creating apps SQL Flow Dataverse

Excel powerapp help List

Power Automate search Formula

See all ≫

Power Platform
Overview

Power BI

Power Apps

Power Pages

Power Automate

Power Virtual Agents

Browse
Sample apps

Services

Downloads
Windows

iOS

Android

Learn
Documentation

Support

Community

Give feedback

Blog

Partners

© 2023 Microsoft

Follow Power Apps

Privacy & cookies

Terms of use

Trademarks

You might also like