PHP Get unread Emails count in Gmail Account


How to get unread Emails count in Gmail Account using PHP.You can get unread Emails count by gmail feeds.Here is a example how to get unread email count in your gmail account. In here you must enter your gmail user name and password to access account.Another article, I was describes PHP Import Email Addresses from Gmail Accounts.But there user must be grant access his account to access data.I’ll describes how to access by using user grant access to get email count in later article.

You must only run this file to get unread email count.

How to call use above function.

If you want to get xml format, you must set the Content-Type as xml.

That’s all.


About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.