TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How would you go about building this?

3 点作者 chidog12超过 5 年前
I want to build an email service where people can send an email to a specific email address. such as example@exampleapp.com.<p>Then I am able to continuously read new emails, read the info on a server, process the info make API calls then generate an accurate response and send the appropriate response.<p>Any help with an appropriate stack and technologies would be greatly appreciated.

2 条评论

PaulHoule超过 5 年前
Some mail clients let you deliver mail to a script<p><a href="https:&#x2F;&#x2F;serverfault.com&#x2F;questions&#x2F;506894&#x2F;how-to-route-email-to-a-script&#x2F;507024" rel="nofollow">https:&#x2F;&#x2F;serverfault.com&#x2F;questions&#x2F;506894&#x2F;how-to-route-email-...</a><p>In that case you&#x27;d need to run a mail server where you install a script. I&#x27;ve done it with qmail and postfix but I haven&#x27;t run my own mail server for a long time.<p>Another option is to use an existing mail server but write a script that polls the mail server with POP or IMAP.<p>Today I&#x27;d consider doing it serverless with something like<p><a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;about-aws&#x2F;whats-new&#x2F;2019&#x2F;02&#x2F;trigger-actions-on-your-inbound-email-with-aws-lambda-for-amazon-workmail&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;about-aws&#x2F;whats-new&#x2F;2019&#x2F;02&#x2F;trigger-a...</a><p>So far as the &quot;stack&quot; I would go with any mainstream platform, mostly driven by what you like. You could certainly do this with Python, Java, .NET, etc.
mtmail超过 5 年前
I&#x27;d use the inbound feature APIs of Mailgun&#x2F;Sendgrid&#x2F;Postmarkapp. They take care of receiving and parsing and can call a URL on your server with new email content. At least in the beginning you can concentrate on the business logic (&quot;accurate response&quot;) and don&#x27;t have to worry about character encodings, parsing attachments or such.
评论 #22048798 未加载