Open scne opened 5 years ago
your smtp settings would help actually with mailhog version.
I'm no Golang developer, but I realy like MailHog, got some issue and I want to help a little. After same research, after comparing with another Gmail/ AWS smtp Go clients, I maybe found bug in line https://github.com/mailhog/MailHog-Server/blob/50f74a1aa2991b96313144d1ac718ce4d6739dfd/api/v1.go#L335
In my opinion 3rd parameter has to be a valid mailbox e-mail address (eg. apiv1.config.Email
), not "nobody@"+apiv1.config.Hostname
.
Second possible issue is default smtp.SendMail() EHLO command set with "localhost" (it's written in their docs). This idea source and solution is here : https://gist.github.com/jpillora/cb46d183eca0710d909a#gistcomment-3087042
Please can You fix it and make new release ?
Thank You in advantage.
Martin
+1
Using Mailhog in docker, I cannot release any emails.
I'm trying to use smtp.gmail.com but it only told me an insecure app tried to use my email. I can't seem to figure this out either and gmail keep changing my email styles so it is hard to develop for.
Doesn't Google require now OAuth2?
Bump!
I try to configure permanent release smtp over g suite but I get the following error. I think the problem is auth mechanism.
Suggestions?