# Email token does not work

**URL:** <https://community.hivepress.io/t/email-token-does-not-work/4921>\
**Category:** HivePress\
**Created:** [March 16, 2023, 9:43am UTC](https://community.hivepress.io/t/email-token-does-not-work/4921 "2023-03-16T09:43:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yan](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@Yan](https://community.hivepress.io/u/Yan)\
**Post date:** [March 16, 2023, 9:43am UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/1 "2023-03-16T09:43:07Z")

</div>

Hello,

WP dashboard \> HivePress \> Email \> Settings Event \> Message Received

Just to confirm that some email tokens are still not working such as %sender% (sender email) and that a token to display the title of a listing in the subject field would be very useful.

Thanks

---

<div class="post-metadata">

**Author:** ![andrii](https://community.hivepress.io/user_avatar/community.hivepress.io/andrii/32/2951_2.png) [@andrii](https://community.hivepress.io/u/andrii)\
**Post date:** [March 17, 2023, 11:37am UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/6 "2023-03-17T11:37:55Z")

</div>

Hi,

Sorry for the inconvenience, we have no docs about those tokens yet (but we’re working on it).

`%sender%` is an “object” token, and it requires a field name, so you can use them this way, for example:

`%sender.name%`

“Object-like” tokens were added as a workaround for a limited list of regular tokens, this way it’s possible to access any field of the sender, recipient or message.

​I hope this is helpful to you.

---

<div class="post-metadata">

**Author:** ![Yan](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@Yan](https://community.hivepress.io/u/Yan)\
**Post date:** [March 17, 2023, 12:13pm UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/7 "2023-03-17T12:13:18Z")

</div>

I will wait then but you already mentioned %sender.name% on another post but it didn’t work on my side either. Thanks

---

<div class="post-metadata">

**Author:** ![Yan](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@Yan](https://community.hivepress.io/u/Yan)\
**Post date:** [March 19, 2023, 4:22pm UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/9 "2023-03-19T16:22:18Z")

</div>

It works with %sender.display\_name%.

Now, how can we use a token that takes the url page from where a user sends a message knowing that a user can send a message from 1) the listing page or 2) the vendor’s page.

Thanks

---

<div class="post-metadata">

**Author:** ![ihor](https://community.hivepress.io/user_avatar/community.hivepress.io/ihor/32/5_2.png) [@ihor](https://community.hivepress.io/u/ihor)\
**Post date:** [March 19, 2023, 7:35pm UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/10 "2023-03-19T19:35:53Z")

</div>

Unfortunately there’s no such option at the moment, the message context may be different (e.g. it can be sent directly via the conversation page in Account/Message).

---

<div class="post-metadata">

**Author:** ![Yan](https://community.hivepress.io/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@Yan](https://community.hivepress.io/u/Yan)\
**Post date:** [March 20, 2023, 7:20am UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/11 "2023-03-20T07:20:35Z")

</div>

I will go that way [Overwriting Emails - #8 by Seegon](https://community.hivepress.io/t/overwriting-emails/2503/8)

It works great with loco translate except that you cannot format the body message (you cannot add space, bullets, etc), it’s all on 1 line. Thus very messy.

On loco translate, i read that you can enable [HTML formatting on particular string](https://localise.biz/wordpress/plugin/faqs/html-editing).

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [April 19, 2023, 7:20am UTC](https://community.hivepress.io/t/email-token-does-not-work/4921/12 "2023-04-19T07:20:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
