My requirement is to send the email with customized body when the user clicks on a button in the detail page layout.
I have a custom button in the detail page layout. When user clicks on the button, a VF page is displayed with the email body content. In this VF page, I have two buttons. One for editing the email body and one to send the email to the users. When the user clicks on send email button, the email is sent from VF page.
Is there any way to log this email sent in the Activity History table?
As of now, I have an idea to create a note as a history with the details like from address, toaddress,ccaddress and bccaddress.
Thanks in advance.