I am trying to send an email by using Zoho Custom Function.
My Code :
sendmail
    [
        from: "email@gmail.com"
        to: "email@gmail.com"
        subject: "Test Email"
        message: "This is mail Body"
    ]
Give this error :
In cases where From: address is not a zoho.adminuserid or zoho.loginuserid, the To: address can only be zoho.adminuserid and the sendmail task cannot have any CC: or BCC: address.