Opening compose email outlook on click of the button

I'm looking for a solution if we can open the outlook once we click on "Send email" button. I know we can achieve this by using "mailto" in the safe link, is there a way we can achieve this by using button click?

OriginalPostID-238828

  Discussion posts and replies are publicly visible