How To Know The Number Of New Messages In Gmail Using The Command Line
Description
Maybe you need to know if you have new messages in your Gmail account but you want to do it using the command line.
Solution
In this example the account name is accName and the password is Pass.
1. Download wget and save it to c:\utils
http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe
2. Press Windows Key + R, type cmd and press enter.
3. Type cd /D c:\utils and press enter in the command window.
3. Type:
wget –no-check-certificate https://accName:Pass@mail.google.com/mail/feed/atom/ -O rss.xml
Don’t forget to change the account name and the password.
3. Type
type rss.xml | Findstr “fullcount”
and press enter.
It will show you how many new messages have in your gmail.
Related posts: