cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aprildunnam
Power Participant
Power Participant

Remove "Unsubscribe" Option from Flow Email

I'm sure this has been asked already but I'm having trouble finding an answer.  I have a flow that's sending an email.  In the email body is a hyperlink for the user to "unsubscribe" from flow notifications.  I do not want this to show at all in my email.  Is there a way to remove this? 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @aprildunnam,

 

Could you please share a screenshot of your flow's configuration?

 

I suppose that you add the "Send an email notification" action of Mail connector within your flow, is it true?

 

I afraid that there is no way to remove the "Unsubscribe" Option from Flow Email in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best reagrds,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

17 REPLIES 17
v-xida-msft
Community Support
Community Support

Hi @aprildunnam,

 

Could you please share a screenshot of your flow's configuration?

 

I suppose that you add the "Send an email notification" action of Mail connector within your flow, is it true?

 

I afraid that there is no way to remove the "Unsubscribe" Option from Flow Email in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best reagrds,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

That's what I was afraid of.  Thank you for confirming that. I will be sure to request this feature on uservoice. 

Anonymous
Not applicable

 

On the off chance you'd still benefit from a workaround, if you leave an open ended tag with inline styling applied, it will affect everything after your content. Definitely not a perfect solution, but it does hide the unsubscribe link.

 

<div style="display:none;">

Brilliant!

Thanks for this work around.  It works great!  🙂

Anonymous
Not applicable

A word of caution though. I found that if someone replies or forwards the email, then the unsubscribe link can be seen again.

OK.  Thank you. I will keep that in mind.  I appreciate your response.

I know this is incredibly "hacky", and not ideal, but I found a way to prevent the unsubscribe message from displaying at the bottom of responses (at least visibly)

 

Just put this at the end if the notification. It uses your <div> but also sets the link and font colors to white so you can't see them in the email and changes the font size to 1 so it is now microscopic white text when replying.

 

Like I said, not ideal, but best I can come up with until they a feature added to exclude it.

 

<head>

 <style type="text/css">

.div A:link {text-decoration: none; color: white;}

.div A:visited {text-decoration: none; color: white;}

.div A:active {text-decoration: none; color: white; }

.div A:hover {text-decoration: none; color: white;}

 </style>

</head>

<div class="div" style="display:none; font-size:1; color:white;">

Anonymous
Not applicable

I tried that myself too, but opted against it as there's a (very) small chance that the user would inadvertently click it!

Anonymous
Not applicable

Hello

 i need to remove

If you want to unsubscribe from these emails, please use this form (https://aka.ms/flow-mail) .

so i've tried this way -> http://prntscr.com/lw4un1

 

i'm doing this right ???

 

Thanks

Paulo Mendes

 

You have a couple of extra lines in there, but it may work. Give it a try.  If not, just replace everything after your display text exactly with the below code:

 

<head>

 <style type="text/css">

.div A:link {text-decoration: none; color: white;}

.div A:visited {text-decoration: none; color: white;}

.div A:active {text-decoration: none; color: white; }

.div A:hover {text-decoration: none; color: white;}

 </style>

</head>

<div class="div" style="display:none; font-size:1; color:white;">

These are great hacks, but the unsubscribe link doesn't appear in the "send an email v2" template. I think I had to add the O365 Outlook connector to use it. Begs the question why the Msft documentation on this is so weak and why an option to disable after so many requests isn't provided.

That's great! It worked in a plain text email, but I cannot get same result when sending an email that contains a table...

Do you know how can use same trick in this case?

 

Thanks

EgoSurge
Regular Visitor

In your flow use the action "Send an email (V2)" instead of "Send an email notification (V3)". I believe that the html rich text capabilities are the same for both actions, thus inserting formatted tables should not be a problem.

 

Hi,

can you help me where I have to write this ?

I am not very familiar with the Workflows and I tried to write the command in the email text but this does not work 😞

 

Thanks in Advance

Gaby (Gabriele.muhs ad hbkworld.com)

Have you tried the send an email v2 template?

Another user reported: "These are great hacks, but the unsubscribe link doesn't appear in the "send an email v2" template"

 

I have not had the chance to verify this, but it looks like it might remove the need for these "hacks".

Let me know and I can try to provide additional help if needed.

Mike

I've verified it - it works.

Yogender1985
Regular Visitor

<div style="display:none;"> is not working for me.

I have table format in my mail.

 

Is any workaround for that?

 

Thanks

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA 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

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (73,971)