AnsweredAssumed Answered

How do you archive an email using PHP?

Question asked by Rob Douglas on Jul 28, 2014
Latest reply on Jul 28, 2014 by Rob Douglas
Sugar 6.5.16

I have a REST implementation that is triggered via multiple links embedded in marketing emails. When a link is clicked multiple actions take place in Sugar dependant on the link clicked. One of those actions is to send an email to our marketing team via SugarPHPMailer.php. The final piece of my puzzle is to archive that email to the contact/lead record it affects. I have the contact/lead ID but need a heads up to code required for archiving

Thanks for any assistance available