AnsweredAssumed Answered

How to send email to a related contact in a logic hook?

Question asked by bryce@baymountaincapital.com on Jul 2, 2015
Latest reply on Jul 2, 2015 by bryce@baymountaincapital.com
I created a custom module called Loans and this has a many to many relationship with Contacts.  I would like to send an email in a logic hook to the related contacts associated with a particular loan under some conditions.  

I already know how to send emails in logic hooks using SugarPHPMailer.  My question is how do I go about retrieving the related Contact's email address as well as first and last name?  

Thank you!

Outcomes