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 mhsendmail, I edited the php.ini file so it is set to the mhsendmail folder where mhsendmail.exe is also I set smtp_port=1025,but it still won't work,what do I need to do ?
我想在我的Windows笔记本电脑上设置mailhog。我下载了可执行文件并将其添加到路径中。当我使用URL Localhost:8025时,它工作得很好,打开mailhog,但我不会在收件箱中收到任何消息,我认为问题出在mhsendmail,我编辑了php.ini文件,所以它被设置到mhsendmail文件夹中,mhsendmail.exe也是我设置SMTP_port=1025,但它仍然不能工作,我需要做什么?
更多回答
Do manually sent e-mails appear? See also this article.
是否会显示手动发送的电子邮件?另请参阅本文。
优秀答案推荐
You have to open php.ini file and where it says
"sendmail_path = " you add the path of your "mhsendmail" .exe file.
I know it says "For Unix only" but it worked for me.
您必须打开php.ini文件,在其中显示“sendmail_path=”的位置添加“mhsendmail”.exe文件的路径。我知道上面写着“只适用于Unix”,但它对我很管用。
更多回答
我是一名优秀的程序员,十分优秀!