duanjiu1003 2010-06-16 12:52
浏览 64
已采纳

使用PHP mail()发送电子邮件时使用什么作为“垃圾邮件过滤器”?

I have a classifieds website, and on each classifieds page, there is a form for tipping a friend where you just enter the persons email-adress and the tip will then be sent. The form is submitted to tip.php where all "magic" happens with checking and sanitizing etc etc...

Lastly I use php:s mail() function to send the email from tip.php...

Now, I wouldn't want spam-bots and automated robots etc to send mail and blacklist my server. What should I do?

One method which I would rather NOT use is logging IP:adresses of senders in a table (MySql) and then allow only x emails per sender.

As I said, the above solution is nothing I would prefer, there must be an easier way.

Is there any method you know of?

Is there any application to install maybe, on a linux server which does the job?

Thanks

  • 写回答

3条回答 默认 最新

  • doucha7329 2010-06-16 13:04
    关注

    I would say that the most used method would be captcha. This will ensure that the one that sends the email is a man, but everything can be cracked. So I would recommend to find a really good one, just type captcha into google and you are good to go. Also you can use another method/thing to make it more viable, e.g. some question that can be answered a simple mathematical problem, etc.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程