If statement to send email
I created the following if statement to send an email based on the input of a selection field. I keep getting an error on line one missing a ";" The code is as follows;
if (input.Location_field == "Day Support")
{
sendmail
(
To : XXX@xx.com
From : xxx@xxx.com
Subject : "Test"
Message : "Test"
)
}