sendmail issues

sendmail issues

I have created a simple FAQ page with a dropdown of issues and one multiline field that displays info based upon the value selected in the dropdown.

I have a second multiline field that I want the FAQ user to fill out with info, when they are in the application, and based upon the value selected in the dropdown I want an email to send on submit to the relevant email address with the input info from the dropdown and the info from the second multiline field.

I have inputted this script in the second multiline field on update:

if (input.Dropdown_1 != "-Select-")
{
if (input.Dropdown_1 == "Option 1")
{
sendmail
(
To : "yourname@domain.com"
From : zoho.loginuserid
Subject : "Escalated Support Request"
Message : "Issue" + input.Dropdown_1 + "Info from Support User" + input.Multi_Line_2
)
}
}

It does not seem to work. Please help.