Questions tagged [mailhog]

48 questions
5
votes
2 answers

Connection could not be established with host mailhog :stream_socket_client(): unable to connect to null://mailhog:1025

I'm getting an error in mailhog while sending an email. Error: Connection could not be established with host mailhog :stream_socket_client(): unable to connect to null://mailhog:1025 (Unable to find the socket transport "null" - did you forget to…
Martin Shahbazi
  • 53
  • 1
  • 1
  • 6
5
votes
3 answers

Connection could not be established with host mailhog :stream_socket_client()

I'm getting an error in mailhog while sending an email to new user for creating password. Error: Connection could not be established with host mailhog :stream_socket_client(): php_network_getaddresses: getaddrinfo failed: No such host is…
vishakha saxena
  • 59
  • 1
  • 1
  • 3
4
votes
2 answers

How can I view emails from a DDEV project in an actual mailreader, not just mailhog?

I'm working on a project that is email-intensive and I appreciate that the emails land in mailhog on DDEV, but I want to see them in gmail, Outlook, etc. How can I get them to where I want to look at them? (I use ddev launch -m to launch the mailhog…
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
2 answers

Auto boot MailHog on Ubuntu 20.04

I installed MailHog in my staging environment by following these steps: sudo apt-get -y install golang-go go get github.com/mailhog/MailHog In order to manually start the service I do: cd ~/go/bin ./MailHog Since I'm using Laravel I already have…
Luciano
  • 2,052
  • 1
  • 16
  • 26
3
votes
4 answers

Mailhog is not working in Laravel 8.x + Sail

I'm using Sail with Laravel 8.x I set it up and it's working perfectly. However, as said here in the Doc, I'm supposed to be able to access the MailHog web interface at: http://localhost:8025 since I configured my .env like…
Nel
  • 454
  • 5
  • 14
2
votes
2 answers

What can I do if parsing a test email is taking too long?

I plan to test a confirmation email with Cypress and MailHog. In principle, a few attributes and values should be present there. In a test mail that is about 200 K in size, the following code worked perfectly. it.only('The body of a confirmation…
Michael S.
  • 589
  • 8
  • 25
2
votes
0 answers

AWS Elastic Beanstalk Mailhog deploy: Error reading auth-file: open /app/bin/auth.txt: no such file or directory

The trouble is that I have an issue when I am trying to deploy the Mailhog and run it with the auth file via AWS EB in the Docker platform. The issue is: [HTTP] Error reading auth-file: open /app/bin/auth.txt: no such file or directory. Check…
2
votes
0 answers

how to configure mailhog on windows

I want to set up mailhog on my windows laptop. I downloaded the executable added it to the path.when I'm using the URL localhost:8025, it works just fine, opens up mailhog,but I won't get any messages in the inbox, I think the problem is with…
2
votes
3 answers

can't establish SMTP connection to the Mailhog from keycloak

I have a docker-compose and it contains Keycloak and Mailhog. I configured the Mailhog in Keycloak but it does not work. I tried MailHog in Powershell it works. Can someone help me figure out why it does not work? Mailhog configuration step on…
Supun Kavinda
  • 308
  • 1
  • 6
  • 20
1
vote
1 answer

Trying to send an email using express and nodemailer and literally nothing is showing up in the console or the terminal

trying to get it so that when the send email button is clicked it sends it to a mailhog inbox, but it is literally doing nothing, not even any console errors or anything in the terminal. What I'm trying to do is to send the name, email, chosen plan…
Jad
  • 11
  • 2
1
vote
1 answer

Keycloak: Email testing error with Mailhog on localhost - "Connection refused"

I have containers running locally for both Keycloak and Mailhog. I then wanted to send some test emails from Keycloak, but I am always getting the error below. I have made the configuration as outlined at the bottom (localhost:1025) and tried…
1
vote
4 answers

Cypress click on link in mailhog body email

I need a help about testing mailhog with cypress. I am trying to click on "Forgot password" link in email body, any advice how to do it?
Nenad R
  • 11
  • 1
1
vote
1 answer

Stream data from API

I am trying to pull data on mails coming into an API from an email testing tool mailhog. If I use a call to get a list of emails e.g GET /api/v1/messages I can load this data into a struct with no issues and print out values I need. However if I use…
ofashow
  • 31
  • 3
1
vote
1 answer

finding a docker-compose file with wordpress and mailhog already working together

I would like to use mailhog during wordpress development. Sadly, I cannot get mailhog to work with the wordpress docker-compose files i have found online. I understand that it is possible to extend a wordpress docker container to work send emails,…
composersucks
  • 61
  • 1
  • 6
1
vote
1 answer

Docker laravel: Connection could not be established with host mailhog

I have a laravel app that is running via a docker-compose file. Here's the file: version: '3' services: #PHP and Apache site: user: 1000:1000 image: alfasoft/php:7.4.27 environment: - PMA_HOST=db -…
1
2 3 4