Can't get the email address of the contacts

Jun 28, 2011 at 7:36 AM


I know that to get the names of the contacts function msg.get_subject() is used.

How to get the email address and other details (like phone num.) of each contact. I would like to know which methods are used for this purpose. Some example will help.