# Reformatting the "Unsubscribe" Line at the bottom of the email

**URL:** <https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344>\
**Category:** Development\
**Created:** [May 15, 2020, 6:58pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344 "2020-05-15T18:58:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![webananas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webananas/32/494_2.png) [@webananas](https://forum.mautic.org/u/webananas)\
**Post date:** [May 15, 2020, 6:58pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/1 "2020-05-15T18:58:12Z")

</div>

Hello! I am wanting to reformat this line in my email. I cannot find the html code anywhere, or find the settings to either remove the line completely, or reformat it.  
Ideally, I would like the line to be centered with the rest of my email.

[Capture|690x165](https://forum.mautic.org/uploads/short-url/s6SSyd8pcbbsQiMOwYo9qdgKCqh.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 15, 2020, 7:33pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/2 "2020-05-15T19:33:58Z")

</div>

Hi,  
So why don’t you center the token with HTML?  
Joey

---

<div class="post-metadata">

**Author:** ![webananas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webananas/32/494_2.png) [@webananas](https://forum.mautic.org/u/webananas)\
**Post date:** [May 15, 2020, 7:38pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/3 "2020-05-15T19:38:50Z")

</div>

I have tried finding that token in the HTML code for a couple of days, but I am not strong in HTML, do you know where the line of that code would be?

Thank you

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 15, 2020, 10:36pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/4 "2020-05-15T22:36:17Z")

</div>

Sorry if I misunderstood you but are you looking for {unsubscribe\_url} ?

---

<div class="post-metadata">

**Author:** ![webananas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webananas/32/494_2.png) [@webananas](https://forum.mautic.org/u/webananas)\
**Post date:** [May 19, 2020, 6:13pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/5 "2020-05-19T18:13:17Z")

</div>

No problem, here is a better picture of a sample email. I have two unsubscribe links, the {unsubscribe\_url } is the first link, and I put it there.  
However, I cannot find where the second unsubscribe link is coming from. I cannot find it in the HTML code, have you ever seen it before?

 ![Capture](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9ff92e64341055b188beeefb7d5bec911366396a.png)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 20, 2020, 6:53am UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/6 "2020-05-20T06:53:29Z")

</div>

Hey, the best way to investigate this is to check what URL it shows when you send a real campaign. You could make a campaign with 1 email in it (yours, which is not your sender email) and send it to yourself. Once you receive the email, check the HTML and see what does the link look like. Is it sure, that Mautic added it?  
One more idea, happened to me: is it not added with white characters in your text field - so it is invisible?

---

<div class="post-metadata">

**Author:** ![webananas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webananas/32/494_2.png) [@webananas](https://forum.mautic.org/u/webananas)\
**Post date:** [May 20, 2020, 6:45pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/7 "2020-05-20T18:45:52Z")

</div>

I think maybe mautic has added it? I found the link in th HTML code in the sample email, but I cannot find where it is in the Email Builder. Maybe I will just have to live with it.  
Thank you very much for your help! 🙂

---

<div class="post-metadata">

**Author:** ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)\
**Post date:** [May 24, 2020, 12:37am UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/8 "2020-05-24T00:37:31Z")

</div>

Which email gateway are you using?

Elastic Email injects their own unsubscribe link that suppresses email delivery to a recipient **at the gateway level** _not_ by setting Do Not Contact in Mautic. One way to get the list of unsubscribes that went through the Elastic Email mechanism back into Mautic is by downloading the CSV report, reformatting it with the column `do_not_contact = true` and importing it into Mautic.

If you want to use a custom unsubscribe text and link (and not Elastic Email’s default verbiage), Elastic Email does [provide their own token](https://help.elasticemail.com/en/articles/2288355-how-to-manage-the-unsubscribe-link) that gets rewritten with their unsubscribe URL when it passes through the gateway.

When we last encountered this, we had some issues using Elastic Email’s custom unsubscribe token because Mautic parsed the `{unsubscribe}` token surrounded by curly brackets before it reached the Elastic Email gateway. Unfortunately, we still ended up with two unsubscribe links - as EE could not detect the presence of third-party unsubscribe. I’m not sure if this has changed.

Perhaps you could try blanking out the **Text for the {unsubscribe\_text} token** in Configuration \> Email Settings in Mautic to see if you are able to suppress Mautic’s unsubscribe text, and use Elastic Email’s unsubscribe mechanism exclusively.

---

<div class="post-metadata">

**Author:** ![webananas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/webananas/32/494_2.png) [@webananas](https://forum.mautic.org/u/webananas)\
**Post date:** [June 1, 2020, 7:53pm UTC](https://forum.mautic.org/t/reformatting-the-unsubscribe-line-at-the-bottom-of-the-email/14344/9 "2020-06-01T19:53:06Z")

</div>

Hello! thank you! the only issue is that Elastic Email’s unsubscribe link is off center, and we would like it to be centered. Maybe in the new update of Mautic it is fixed?

Thank you for your response!
