@mailsend question

Is this formula correct? I need to make a button that sends mails based on the field “Site”. Thanks…

@If(Site = “FL”;@MailSend(jambre); “”)

@If(Site = “TN”;@MailSend(krepat); “”)

@If(Site = “PA”;@MailSend(modrea); “”)

Subject: Yes your code is correct, however I would use just one @If

@If(Site = “FL”;@MailSend(jambre); Site = “TN”;@MailSend(krepat); Site = “PA”;@MailSend(modrea); “”)