I need a PERL or PHP snippet that checks if an email exists/is valid.
The script should retrieve from a list of line delimited emails and check one for one and prints the ones that are invalid.
Invalid includes emails that don't exist at all/no mailbox or a message comes back and says that this user does not exist anymore or any other message that indicates me that this user will not receive my messages.
Script has to work on Windows as well as Linux server - so if Windows does not have a needed library, that needs to be provided too. Script just has to work.!
Script needs to be delivers within 24 hours.
Budget: max $30.