Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When searching for messages the result cannot be opened #79

Open
oers opened this issue Mar 1, 2016 · 7 comments
Open

When searching for messages the result cannot be opened #79

oers opened this issue Mar 1, 2016 · 7 comments
Labels

Comments

@oers
Copy link
Contributor

oers commented Mar 1, 2016

  1. Use the search field to search for an an existing E-Mail (in my case an email)
  2. Click on the mail
  3. Mail will not open
@ian-kent
Copy link
Member

Hi @oers

I can't reproduce it locally, following the same steps appears to work as expected.

Could you give a bit more info, e.g. how many messages MailHog was storing, which page you were on, are you running a single MailHog binary or separate Server/UI binaries, or anything else you can think of that may be relevant!

@riffraff
Copy link

also happens for me.
OSX 10.11.4, mailhog installed through homebrew and managed through homebrew services, using chrome

From the main page, at http://localhost:8025/, type something in search, hit enter, results are shown.

On clicking, this appears in the js console

controllers.js:330 Object {}
controllers.js:440 Object {ID: "[email protected]", From: Object, To: Array[1], Content: Object, Created: "2016-04-28T12:09:52.470072631+02:00"…}

obviously ids and content change, but the same happens clicking on any message in the search results.

@ahshum
Copy link

ahshum commented Mar 27, 2018

Version

v1.0.0

Steps to reproduce

  1. search with keyword
    image

  2. click on the mail
    image

Description

It should be a layout issue, as the mail view is always append at the bottom of the body.

@Perturbatio
Copy link

This is still an issue as far as I can see. With a very brief glance at the markup, it looks like the ng-if="searching" condition needs to pay attention to the preview flag also

@jims-doxpop
Copy link

jims-doxpop commented Oct 11, 2019

This is still an issue for us.

We are running MailHog v1.0.0 with mongodb as the storage backend. We have thousands of messages.

If I make a search, I might get back dozens or hundreds of messages. It doesn't seem to matter whether all the search results fit on one page or multiple pages.

I looked into the response from the API call to the search function. The Content body is empty. Here is a snippet from the Chrome console:

{total: 23, count: 23, start: 0,…}
count: 23
items: [{ID: "[email protected]",…},…]
0: {ID: "[email protected]",…}
Content: {,…}
Body: ""
Headers: {Content-Type: ["multipart/related; boundary="----=_Part_5844_484526894.1570801975779""],…}
MIME: null
Size: 7002
Created: "2019-10-11T09:52:55.786-04:00"
From: {Relays: [], Mailbox: "****", Domain: "doxpop.com", Params: ""}
ID: "[email protected]"
MIME: null
Raw: {From: "****@doxpop.com", To: ["****@doxpop.com"],…}
To: [{Relays: [], Mailbox: "****", Domain: "doxpop.com", Params: ""}]

@greasedonkey
Copy link

We are having this issue in our mailhog instance. Whenever we search and try to open an email from the search result we can't see the body of the email.

@dostef
Copy link

dostef commented Jun 27, 2023

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants