kayduh
kayduh

Reputation: 318

STMP email verification methods

Im using php to create a script that will check validity of emails for people registering for a website. I need something a little more then just regex syntax checking. The process I have been using has been to send out SMTP: HELO, MAIL From, and RCPT To. To certain addresses and validate the email addresses depending on the response.

I have been using the functions found here: https://code.google.com/p/php-smtp-email-validation/

The program was working fine, I was testing using a basic HTML script hosted by godaddy.com. I was using a few of my personal emails as well as emails i know would be registered as invalid. After a day the godaddy IP was put on spamhaus's block list.

I can see how they thought what I was doing was spam. But is there anyway I can work around this and not be flagged as a spam IP?

this is the error i have been getting, the IP is godaddy

553 5.7.1 [BL21] Connections will not be accepted from 184.168.200.96, because the ip is in Spamhaus's list; see http://postmaster.yahoo.com/550-bl23.html

Upvotes: 1

Views: 166

Answers (1)

tripleee
tripleee

Reputation: 189628

The proper way -- nay, the only way -- to validate sign-ups is to actually send an email and have them click on the "confirm subscription" link. Anything else is an invitation to spam (lawyers call this "attractive nuisance" and yes, you are culpable if you set one up).

Upvotes: 1

Related Questions