function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Paula Kern 4Paula Kern 4 

lightning button to update field and send email

I have a need to have a button on an opportunity that will update a field(checkbox) and then send an email alert.  Does anyone have anything I can use to get started in the lightning environment?  Many thanks in advance
Raj VakatiRaj Vakati
You have to create a Lightning Action (button ) to do same think .. 


Please refer this link 

http://sfdcmonkey.com/2017/01/03/send-email-lightning-component/
https://anilsfgeek.blogspot.com/2018/03/lightning-component-for-sending-of.html
Its very useful code