Retrieving subject line from a mail

Hi

I want to retrieve the subject line received from the inbox in a mail either from yahoo, gmail, etc.

Please guide me on this if anybody can.

How do i proceed? Please let me know that.

Thanks in advance.

Regards,
Learner

As a first stage., are you able to get the array of all the mails from your inbox?

Best Wishes,
Saideep Annadatha

HI ,
yeah i could do that.

Thanks
Learner

I believe each mail object will be either hash or array, try finding out that and then you must be able to get the subject line from that object.

Best Wishes,
Saideep Annadatha