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 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 单片机无法进入HAL_TIM_PWM_PulseFinishedCallback回调函数