Sendmail function cannot be saved. "Improper Statement Error might be due to missing ';'"

Sendmail function cannot be saved. "Improper Statement Error might be due to missing ';'"

Hi,

I'm trying to make new rule to automize new-data-added notification.

what I did is 
1) I drag&drop "sendmail" parts to script field,
2) change "from", "to", "subject", "message",
3) press "save script".



but I cannot save this script with error message "Improper Statement Error might be due to missing ';'..."
Could anybody give me any suggestions?


thank you 
Tadashi