IsraelOrtuno / pipedrive

Complete Pipedrive API client for PHP
MIT License
166 stars 58 forks source link

Lists e-mail messages associated with a deal. #13

Closed jagroop closed 8 years ago

jagroop commented 8 years ago

Hi there, Does this php binding provide email messages associated with a deal i have tried two ways

Pipedrive::deals()->emailMessages($dealId);

Pipedrive::deals()->find(3)->emailMessages();

but no success ...

IsraelOrtuno commented 8 years ago

@jagroop have just fixed this, this method was missing from the deals resource. Use it as you do:

Pipedrive::deals()->emailMessages($dealId);
// or
Pipedrive::deals->emailMessages($dealId);
IsraelOrtuno commented 8 years ago

@jagroop tagged as 0.3.3 by the way, update composer

dominiquedutra commented 4 years ago

Just for future reference, the correct method would be ->mailMessages() instead of ->emailMessages().