# Bug with email Preview

**URL:** <https://forum.mautic.org/t/bug-with-email-preview/34405>\
**Category:** Product Support\
**Created:** [December 11, 2024, 5:48am UTC](https://forum.mautic.org/t/bug-with-email-preview/34405 "2024-12-11T05:48:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![diasse](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diasse/32/13177_2.png) [@diasse](https://forum.mautic.org/u/diasse)\
**Post date:** [December 11, 2024, 5:48am UTC](https://forum.mautic.org/t/bug-with-email-preview/34405/1 "2024-12-11T05:48:25Z")

</div>

**Your software**  
My Mautic version is: 5.2  
My PHP version is: 8.2  
My Database type and version is: MySQL 5.2.4

**Your problem**  
My problem is: The email ‘preview for contact’ doesn’t work.  
I type in a contact name but nothing happen and i can’t preview an email as contact as it was possible in the 5.1.1 version.

Here’s a screenshot :

 ![2024-12-11 05.37.12 inbox.yiriwgol.com c85b0bb442d5](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/95227eafd0164db29c304294cd0faabac25a31e1.jpeg)

Is there some actions needed to make this work on 5.2?  
Need help, cause this feature allow me to test custom links with params and make sure it works before sending my emails.

@matbcvo ?!

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [December 11, 2024, 9:09am UTC](https://forum.mautic.org/t/bug-with-email-preview/34405/2 "2024-12-11T09:09:10Z")

</div>

I was able to reproduce this also in the 5.2 branch.

---

<div class="post-metadata">

**Author:** ![matbcvo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/matbcvo/32/6285_2.png) [@matbcvo](https://forum.mautic.org/u/matbcvo)\
**Post date:** [December 11, 2024, 8:20pm UTC](https://forum.mautic.org/t/bug-with-email-preview/34405/3 "2024-12-11T20:20:27Z")

</div>

Yes, it looks like this is broken in Mautic 5.2.0. Thanks for letting us know - I’ll create a bug report on GitHub.

> <https://github.com/mautic/mautic/issues/14366>
>
> \### Mautic Series
> 
> 5.2.x series
> 
> \### Mautic installed version
> 
> 5.2.0
> 
> \##…# Way of installing
> 
> I downloaded a release from https://www.mautic.org/mautic-releases
> 
> \### PHP version
> 
> 8.3
> 
> \### What browsers are you seeing the problem on?
> 
> Chrome
> 
> \### What happened?
> 
> Email preview URL for contact - Contact lookup field not working
> 
> !\[image\](https://github.com/user-attachments/assets/0f6d863a-6980-4bd7-90ef-93b11577a83b)
> 
> 
> This issue was first reported on the Mautic forums: https://forum.mautic.org/t/bug-with-email-preview/34405
> 
> \### How can we reproduce this issue?
> 
> Step 1: Create a contact
> Step 2: Create an email
> Step 3: In the "Preview URL" section, try to find a contact using the contact lookup field
> 
> \### Relevant log output
> 
> \_No response\_
> 
> \### Code of Conduct
> 
> \- \[X\] I confirm that I have read and agree to follow this project's Code of Conduct
> 
> \<br /\>\<hr\>
> Care about this issue? Want to get it resolved sooner? If you are a \<a href='https://www.mautic.org/become-a-member-of-mautic'\>member of Mautic\</a\>, you can add some funds to the \<a href='https://opencollective.com/mautic/projects/bounties'\>Bounties Project\</a\> so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs \<a href='https://contribute.mautic.org/product-team/mautic-bounty-programme'\>here.\</a\>

---

<div class="post-metadata">

**Author:** ![ekke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ekke/32/296_2.png) [@ekke](https://forum.mautic.org/u/ekke)\
**Post date:** [June 20, 2025, 8:34am UTC](https://forum.mautic.org/t/bug-with-email-preview/34405/4 "2025-06-20T08:34:08Z")

</div>

IMHO this one was fixed in Mautic 5.2.4 see [fix: Fix contact preview lookup on email not performing a lookup by driskell · Pull Request #14648 · mautic/mautic · GitHub](https://github.com/mautic/mautic/pull/14648)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [June 21, 2025, 8:35pm UTC](https://forum.mautic.org/t/bug-with-email-preview/34405/5 "2025-06-21T20:35:07Z")

</div>

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