使用 php 进行电子邮件转发 | craigslist 的匿名电子邮件生成器
我想创建(或者至少学习/知道它是如何完成的)应用程序(或配置?),它的作用类似于当人们在发帖时选择使用“匿名”选项隐藏电子邮件时 craigslist 所做的事情。我怀疑这是通过所谓的电子邮件中继完成的。我想了解它是如何完成的 - 从用户输入电子邮件到通过匿名电子邮件地址接收电子邮件。我来自中级“LAMP”背景,所以请耐心解释。
非常感谢您的回复/评论/建议/指示。
谢谢
I wanted to create (or at least learn/know how it is done) application(or configuration?) that does similar to what craigslist does when people choose to hide their email with the "anonymous" option when making posts. I suspect that it is done with what's called email relaying. I'd like to find out how it is done in process - from when user enter their email to receiving an email via an anonymous email address. I come from a "LAMP" background at an intermediate level so please bear with me and kindly explain.
Your responses/comments/suggestions/pointers are greatly appreciated.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最简单的方法是使用您的 php 应用程序接收电子邮件。有多种方法可以做到这一点,使用 cron 收集、从电子邮件服务器直接通过管道传输到您的应用程序或使用第三方(例如 CloudMailin) 。
我写了一篇博客文章,解释了使用 php 此处。这篇文章讨论了 Rails,但大多数语言和框架的原理都是相同的。
The easiest way to do this is to receive email with your php app. There are a wide range of ways to do this, collecting using cron, piping from an email server directly into your app or using a third party like CloudMailin.
I wrote a blog post explaining some of the methods you can use to receive incoming email using php here. The post discusses rails but the principals are the same for most languages and frameworks.