From: sono...@fannullone.us > On Jun 27, 2011, at 12:20 PM, Wagner, David wrote: > > > Unless you make it a two step process: 1) Send email and individual has to reply or click an url, I don't believe you can know if the account is active, etc WITOUT the sending. > > I can see how that would work fine for a forum, but this will be for a shopping cart. I know that there isn't a perfect solution - all I want would be to try to prevent someone from entering a blatantly wrong address. The other day, I had someone enter an address like sally...@yahoo.com. This morning, when I e-mailed her directly, it bounced back immediately as user unknown which means she didn't get her e-mail from the cart and I wasn't aware of that until now. > > It seems that all I'd need would be to check 1) if the domain is good and 2) whether or not the user has an account on that domain. > > I'll be checking out Email::Valid and Email::Verify::SMTP to see if either of these might prevent that type of scenario from happening again.
The problem with this is that, due to the spam plague, most servers will no longer tell you if an address is valid. Many do not even return a bounce message, but silently discard any and all mail for unknown addresses. Spam traps can also produce false positives, dumping your mail into a quarantine folder, or the bit bucket. The only time you know an address is valid is if you receive an actual response from the user. Even then I would be worried that it could be a 'bot responding to you. Email should no longer be considered a reliable basis to make financial decisions. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/