sugarcrm icon indicating copy to clipboard operation
sugarcrm copied to clipboard

Can't get associated emails from contact

Open cypriss opened this issue 13 years ago • 2 comments

In the Sugar web interface, when I am viewing a Contact, I can see all the emails associated with the contact in the History list. (NOTE: I'm talking emails here, NOT email addresses).

However, then I find the contact via the gem using:

c = SugarCRM::Contact.find("abc-id")

Then do

c.emails

None of the emails are returned.

I'm a bit confused about how emails are related to contacts. How can I get the emails associated with a contact?

cypriss avatar Apr 03 '12 18:04 cypriss

What version of SugarCRM are you using?

chicks avatar Apr 03 '12 18:04 chicks

Looks like Version 6.4.2 (Build 7526), via sugarondemand.com

cypriss avatar Apr 03 '12 21:04 cypriss