通过mailgun接收邮件

我有一台服务器,我使用mailgun发送邮件,工作正常,DNS记录添加正常帐户是 使用mailgun设置也很好。</ p>

由于某些原因,我无法接收入站邮件,我在mailgun上有一条路由,因此它可以将邮件转发到我想要的地方。 catch_all(),forward(“ http://app.theautominer.com/inbox/mailgun ” )</ p>

我需要的是当我通过mailgun向某人发送邮件时,如果他回复我希望这条路线能够捕获回复邮件并将其转发到我的服务器并存储到数据库。 </ p>

我该怎么做? 我应该以某种方式添加mailgun邮件或smth?</ p>
</ div>

展开原文

原文

I have a server on which i use mailgun for sending mails, which works fine, DNS records are added fine account is setup with mailgun fine too.

I cant receive inbound mails with it for some reason, i have a route made on mailgun so it can forward the mail where i want. catch_all(), forward("http://app.theautominer.com/inbox/mailgun")

Exactly what i need is when i send mail to someone via mailgun and if he replies i want this route to catch the reply mail and forward it to my server and store to DB.

How can i do this? Should i somehow add mailgun mails or smth?

1个回答

you have to change your domain's mx records to mailgun mx servers. Login mailgun panel > domains > click on domain > Domain Verification & DNS > see the MX records. And set them into the domain's DNS settings panel. You can get all sent mail to your domain.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐