Is there a way to open the mail client when a button is clicked?

You can do that with regular javascript but it requires the window object, so is there a workaround for corvid? I want the user to be able to click a button and have the mail client open with subject, body, and to/CC/BCC fields filled out.

Hello Warheadd Whiteoak,

do you need something like this…?

export function button22_click(event) { wixLocation.to("mailto:russian-dima@hotmail.de?subject=Something%20Intersting"); }

Not work