Do while loop in php

how to check e-mail address is valid with php