# Getting the friends contacts mail Id of gmail,hotmail,yahoo

**URL:** <https://www.ruby-forum.com/t/getting-the-friends-contacts-mail-id-of-gmail-hotmail-yahoo/153116>\
**Category:** Rails\
**Created:** [November 12, 2008, 11:52am UTC](https://www.ruby-forum.com/t/getting-the-friends-contacts-mail-id-of-gmail-hotmail-yahoo/153116 "2008-11-12T11:52:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smartee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e5b9ba/32.png) [@smartee](https://www.ruby-forum.com/u/smartee)\
**Post date:** [November 12, 2008, 11:52am UTC](https://www.ruby-forum.com/t/getting-the-friends-contacts-mail-id-of-gmail-hotmail-yahoo/153116/1 "2008-11-12T11:52:24Z")

</div>

hi,

Please help me!!!

am using ruby-1.8.6  
gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

I got this error :  
undefined method `name’ for {:email=\>“removed\_email\_address@domain.invalid”, :name=\>“aaa”}:Hash

please give me further solution… please…

Thankyou.
