不可用电邮问题 [英] unavailable email question

查看:66
本文介绍了不可用电邮问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我们有很多人已经注册了我们的时事通讯,而且每次有更多人收到电子邮件时我们都会收到
。这是否有任何

技术来检测这样的不可用地址?


我们想要使用特殊的电子邮件(比如 ne ******** @ ourdomain.com )然后

使用PHP脚本来捕获返回的电子邮件并抓住他们的一些文字

并决定我们是否从我们的邮件列表中删除该地址。用PHP可以获得
吗?这是最好的解决方案吗?


感谢您的回答。


Bob

Hi all,

we have many people that have registered to our newsletter and we are
getting every time more people who the email is unavailable. It''s there any
technique to detect such unavailable address ?

We tought about using a special email (like ne********@ourdomain.com) then
using a PHP script to catch the returning email and catch some text on them
and decide if we remove the address from our mailing list or not. It''s
possible with PHP ? It is the best solution ?

Thanks for answering.

Bob

推荐答案

Bob Bedford写道:
Bob Bedford wrote:

大家好,


我们有很多人注册了我们的时事通讯,我们每次都会收到电子邮件不可用的人数
。这是否有任何

技术来检测这样的不可用地址?


我们想要使用特殊的电子邮件(比如 ne ******** @ ourdomain.com )然后

使用PHP脚本来捕获返回的电子邮件并抓住他们的一些文字

并决定我们是否从我们的邮件列表中删除该地址。用PHP可以获得
吗?这是最好的解决方案吗?


感谢您的回答。


Bob
Hi all,

we have many people that have registered to our newsletter and we are
getting every time more people who the email is unavailable. It''s there any
technique to detect such unavailable address ?

We tought about using a special email (like ne********@ourdomain.com) then
using a PHP script to catch the returning email and catch some text on them
and decide if we remove the address from our mailing list or not. It''s
possible with PHP ? It is the best solution ?

Thanks for answering.

Bob



当然,使用PHP是可行的,并且非常可行。无论是最好的

解决方案,您都可以自行决定。


-

======= ===========

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================

Sure, it''s possible with PHP, and quite workable. Whether it''s the best
solution only you can decide.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


12月18日12:26,Rik Wasmus < luiheidsgoe ... @ hotmail.comwrote:
On 18 Dec, 12:26, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:

你可以设置一个cron作业测试以下内容:

- 找到域名的MX记录

- 在套接字连接中尝试RCPT TO

- 标记emailaddres,因为错误时不可用

- 决定你的逻辑是什么删除电子邮件或重新检查它

(可能次数有限)以后


请参阅以下评论:

< ; HTTP://nl2.php.net/manual/en/function.getmxrr.php>
You could set up a cron job testing for the following:
- find the MX record for the domain
- try a RCPT TO in a socket connection
- flag emailaddres as unavailable on error
- decide your logic wether to delete the emailaddres or recheck it
(perhaps a limited number of times) later

See the comments at:
<http://nl2.php.net/manual/en/function.getmxrr.php>



更加重要的是看注释:

注意:此功能不应用于地址

验证。只返回在DNS中找到的mailexchangers,

然而,根据> RFC 2821,当没有列出邮件交换器时,

hostname本身应该用作唯一的邮件交换器

优先级为0.

More improtantly see the Notes:
Note: This function should not be used for the purposes of address
verification. Only the mailexchangers found in DNS are returned,
however, according to >RFC 2821 when no mail exchangers are listed,
hostname itself should be used as the only mail exchanger with a
priority of 0.


2007年12月18日星期二13:35:13 +0100,Paralytic上尉

< pa ********** @ yahoo.comwrote:
On Tue, 18 Dec 2007 13:35:13 +0100, Captain Paralytic
<pa**********@yahoo.comwrote:

12月18日12:26,Rik Wasmus < luiheidsgoe ... @ hotmail.comwrote:
On 18 Dec, 12:26, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:

>你可以设置一个cron作业测试以下内容:
- 找到MX记录对于域名
- 尝试在套接字连接中使用RCPT TO
- 将emailaddres标记为错误时不可用
- 决定删除电子邮件或重新检查它的逻辑
(也许是次数有限次)

见评论:
< http://nl2.php.net/manual/en/function.getmxrr.php>
>You could set up a cron job testing for the following:
- find the MX record for the domain
- try a RCPT TO in a socket connection
- flag emailaddres as unavailable on error
- decide your logic wether to delete the emailaddres or recheck it
(perhaps a limited number of times) later

See the comments at:
<http://nl2.php.net/manual/en/function.getmxrr.php>



更加重要的是看注释:

注意:此功能不应用于地址

验证。只返回在DNS中找到的mailexchangers,

然而,根据> RFC 2821,当没有列出邮件交换器时,

hostname本身应该用作唯一的邮件交换器

优先级为0.

More improtantly see the Notes:
Note: This function should not be used for the purposes of address
verification. Only the mailexchangers found in DNS are returned,
however, according to >RFC 2821 when no mail exchangers are listed,
hostname itself should be used as the only mail exchanger with a
priority of 0.



...您可以将自己添加到代码中或作为返回的
MX记录,如果不存在/可以找到。如果你在

心中编写了这个后备代码,我认为你没有理由(/不应该从技术角度来看,b $ b b b),加载是别的东西)编写一个脚本,利用这个

函数来验​​证电子邮件地址。是的,这不是由这个

函数_alone_完成的,这就是恕我直言的这个说明。

-

Rik Wasmus

... which you can add yourself in the code or as last item to the returned
MX records if none exist/can be found. If you code with that fallback in
mind, I see no reason why you couldn''t(/shouldn''t from a technical
standpoint, load is something else) write a script that makes use of this
function to validate an emailaddress. True, it cannot be done by this
function _alone_, that''s what IMHO this note is about.
--
Rik Wasmus


这篇关于不可用电邮问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆