How to download some emails to my computer from gmail?

Mohammed H picture Mohammed H · Mar 9, 2012 · Viewed 9.2k times · Source

I need to download some emails from my gmail. All that emails have same label, subject and from.

The emails contain links to song files. I need to download all that songs by an automated program. If I make the emails as files in my system, the automated program will extract the .mp3 links and will download all the songs.

Can you say how to download the emails to my computer from gmail?

I prefer the language C, Java, PHP or Shell-Script for this purpose.

Answer

Rakesh Patel picture Rakesh Patel · Mar 9, 2012

first enable the pop/imap setting from specific gmail account setings after that configure the following host and port. refer this link Gmail Cnfiguration