简体   繁体   English

使用Mail :: CheckUser检查电子邮件ID是否有效

[英]Error in checking an email id is valid using Mail::CheckUser

I am creating a script for checking mail id inbox exist or not (mail probing), i am using Mail::CheckUser module for this.But when i execute the code with a mail id like "somthing@yahooo.com" it shows the mail id exist ,but it does not exist in reality. 我正在创建一个检查邮件ID收件箱是否存在(脚本探测)的脚本,为此我使用Mail :: CheckUser模块。但是当我执行带有“ somthing@yahooo.com”之类的邮件ID的代码时,邮件ID存在,但实际上不存在。 could you please suggest any solution for this 您能为此提出任何解决方案吗

the code i am usig is given below 我是usig的代码如下

use Mail::CheckUser;
use Data::Dumper;

my $res =Mail::CheckUser::check_email('something_something@yahoo.com');
print $res."\n\n\n";
my $res1 = Mail::CheckUser::last_check();
print Dumper($res1)."\n\n";

thanks in advance 提前致谢

Mail::Checker seems to be unfit for Yahoo Mail :: Checker似乎不适合Yahoo

It seems that it is impossible to test existence of yahoo mailbox without sending a test message. 似乎不发送测试消息就不可能测试yahoo邮箱的存在。 Yahoo seems to reject messages to non existing user in reply to "the final dot" in SMTP session. 雅虎似乎拒绝给不存在的用户的邮件,以回复SMTP会话中的“最后一个点”。

I have tried to send message to non existing (long random) mailbox with the following result (bounce message): 我尝试将邮件发送到不存在的(长时间随机)邮箱,并显示以下结果(退回邮件):

<d5b980c9018f82c94cefee51193f8a61@yahoo.com>: host
 mta5.am0.yahoodns.net[98.138.112.32] said: 554 delivery error: dd This user
 doesn't have a yahoo.com account
 (d5b980c9018f82c94cefee51193f8a61@yahoo.com) [0] -
 mta1516.mail.ne1.yahoo.com (in reply to end of DATA command)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM