AnsweredAssumed Answered

Get id of sent email

Question asked by Muhammad Shaji Uddin on Aug 20, 2019
Latest reply on Aug 25, 2019 by Muhammad Shaji Uddin



In after_save logichooks I used "$mail = new SugarPHPMailer();" for sending emails

I need to get the ID of email which is sent. I tried to get id from "$mail->id" but its not working


Basically I need to use email_id in this logic (… )



Any help will be highly appreciable