Questions tagged [mailhog]
48 questions
1
vote
0 answers
Configuring Mailhog on Mac
I'm trying to configure mailhog on mac. I have it installed (homebrew) and ran maillog.
My console shows:
mailhog
2022/01/19 11:21:42 Using in-memory storage
2022/01/19 11:21:42 [SMTP] Binding to address: 0.0.0.0:1025
[HTTP] Binding to address:…

Mel
- 2,481
- 26
- 113
- 273
1
vote
0 answers
How to authenticate cypress-mailhog request. 401 status code
I am using cypress and mailhog to test email validation step of the sign up process on our staging site. Currently the test is failing with a 401 status code - the mailhog inbox requires a username and password.
How can I pass a username and…

Ambassador Kosh
- 459
- 5
- 19
1
vote
1 answer
Laravel Homestead latest mailhog service is not available
Due to application versions, I have 3 laravel Homestead boxes. I'm using MacOS.
Laravel Homestead 9.7.2
Laravel Homestead 12.2
Laravel Homestead 12.6
For each of them I do:
v10.17
laravel/homestead 9.7.2
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux…

Pathros
- 10,042
- 20
- 90
- 156
1
vote
1 answer
Laravel Forge Mail Error Connection can't be established with host mailhog
I have very strange error on my Laravel Forge production server.
My .env config and mail.php config variables:
smtp.mailgun.org
587
smtp
smtp.mailgun.org
I just dumped this by…

D3V1L
- 145
- 1
- 1
- 7
1
vote
0 answers
import node js modules inside Cypress typescript project
I want to import a node module and add it to my command.ts in cypress. the tutorial suggests adding
import 'cypress-mailhog';
to the command.js file. when I add it to my command.ts file, I am not able to use the command for example
…

FarFarAway
- 1,017
- 3
- 14
- 35
1
vote
2 answers
Unencrypted connection when sending mail using mailhog and golang
These code works normally when using gmail (with AllowLessSecureApp turned on), but doesn't work with mailhog (unencrypted connection error), these the minimal code to reproduce:
package main
import (
"crypto/tls"
"fmt"
"net/smtp"
…

Kokizzu
- 24,974
- 37
- 137
- 233
1
vote
2 answers
Mailhog, Trapmailer and gmail via symfony
I got some trouble with mails generation on my Symfony app :
I use docker
when I use Gmail to send emails :
MAILER_URL=gmail://MyAddress@gmail.com:MyPw@localhost
everything works fine
but as soon as I try to intercept these mails…

Jhonnatan Joestar
- 11
- 1
- 3
1
vote
2 answers
Laravel 5.2: Expected response code 220 but got code "500", with message "500 Unrecognised command
I am trying to test the email functionality on my app and it is rendering the following error:
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 220 but got code "500", with message "500
Unrecognised command
I…

Saani
- 791
- 7
- 28
- 68
1
vote
1 answer
PHPMailer & Mailhog: connection refused, host not known
trying to get Mailhog to run. i'm running a Neard stack and i haven't used Mailhog before. the docs are slim for somebody who isn't familiar with email services (finger pointing at self). here's what i have code-wise:
// create the instance
…

WhiteRau
- 818
- 14
- 32
0
votes
1 answer
How can i configure mailhog in my laravel application
I have a .env file looks like this:
MAIL_MAILER='mailgun'
MAIL_HOST='smtp.mailgun.org'
MAIL_PORT=587
MAIL_ENCRYPTION='SSL'
MAIL_FROM_NAME="${APP_NAME}"
but i get this error when i want to send e-mails.
Connection could not be established with host…

umay
- 1
0
votes
0 answers
How do I add authentication to MailHog?
For testing purposes, I need to add authentication to MailHog within a local Laravel application. I believe this is possible, but not sure what steps to take. I've seen the official notes…

jkstallard
- 375
- 1
- 2
- 17
0
votes
0 answers
Craftcms does not send local emails using mailhog
I need to send emails with craftcms, mailhog and containers ddev, but i don't receive emails in my inbox gmail, hotmail... I already configured my .env for local credentials according to the documentation, and I tried to configure it inside…

Ivan Pinheiro
- 1
- 1
0
votes
1 answer
Docker Mailhog with Docker django error: [Errno 111] Connection refused
I have 2 containers running through docker-compose, one with Django, the other with Mailhog. But when I send_mail through Django python manage.py runserver, it is possible to send, if i run a docker-compose up when I send email this error is…

Germano
- 358
- 1
- 2
- 13
0
votes
1 answer
Using Docker, cannot run mailhog/mailhog:latest for Macbook Pro M1
I tried to run mailhog in Docker using the mailhog/mailhog:latest on Macbook Pro M1.
This is my docker file as swarm.yml:
version: '3'
services:
mailhog:
image: 'mailhog/mailhog:latest'
ports:
- '8025:8025'
deploy:
mode:…

andreijy
- 197
- 2
- 3
0
votes
0 answers
error sending mail, dial tcp 127.0.0.1:1025: getsockopt: connection refused, docker, mhsendmail
Dockerfile
COPY php.ini /usr/local/etc/php/conf.d/
RUN apt-get update &&\
apt-get install --no-install-recommends --assume-yes --quiet ca-certificates curl git &&\
rm -rf /var/lib/apt/lists/*
RUN curl -Lsf…

cookie
- 2,546
- 7
- 29
- 55