http://scriptime.blogspot.fr/2013/01/reading-gmail-with-php-imap.html

http://www.lephpfacile.com/manuel-php/function.imap-open.php

