cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArmanShafiee
Helper I
Helper I

Adding the user's signature after a Launch("mailto:") function & adding HTML to the mail

Hi everyone, 

 

I need some help regarding a formula in PowerApps.

I am using the Launch("mailto:" & "?subject =" & "&body =") formula and it works really fine as it opens Outlook and fills the different fields. 

My questions here are:

1. Is there a way I can add HTML into the body of the mail ? I've tried using <b></b> etc. but the text doesn't change.

2. Is there a way to add the current user's signature automatically at the end of the mail ?

 

Thanks for your help.

Arman

1 ACCEPTED SOLUTION

Accepted Solutions

@ArmanShafiee 

Sorry about that...I saw <b> and thought <br> for some reason.

Then no, doing a launch with the mailto: will not allow html in the body parameter.  See RFC 6068 for more details.

You can do so with the SendEmail functions of the Outlook connector, but this will not launch an email application, it would all be done within your app. 

As well, that doesn't allow for signatures either, but you could at lease simulate such a thing there.

 

Incidentally, in regard to signatures, they have always been a part of the email application and stored locally on the device.  Microsoft has recently announced moving the signatures to the cloud as part of your account. So perhaps one day the connectors will allow you to utilize it as well.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

3 REPLIES 3
RandyHayes
Super User III
Super User III

@ArmanShafiee 

You might want to take a look at this post in regard to adding line breaks in your email body.

However, for the signature, that is going to be a setting for the email client, it is not something you can force into your launch statement.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Hi @RandyHayes and thanks for your reply.

I already managed adding breaks in my email. 

My question wasn't clear enough.

I wanted to know if it's possible to add bold or italic characters in my body ?

Thanks,

Arman

@ArmanShafiee 

Sorry about that...I saw <b> and thought <br> for some reason.

Then no, doing a launch with the mailto: will not allow html in the body parameter.  See RFC 6068 for more details.

You can do so with the SendEmail functions of the Outlook connector, but this will not launch an email application, it would all be done within your app. 

As well, that doesn't allow for signatures either, but you could at lease simulate such a thing there.

 

Incidentally, in regard to signatures, they have always been a part of the email application and stored locally on the device.  Microsoft has recently announced moving the signatures to the cloud as part of your account. So perhaps one day the connectors will allow you to utilize it as well.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (54,158)