Deluge Script - Share

Deluge Script - Share

I'm having difficulty using the share function.

I'm using it in the On Add - On Success area:


sendmail
[
    from:zoho.adminuserid
    to:zoho.adminuserid,"yourname@domain.com"
    subject:"Subject of the email"
    message:"Your message"
]
share form("Create_Clan", input.register_email);




How do you use this correctly? Can the zoho variable zoho.loginuserid be used or do you have to use an input field that contains an email?