${ use "codex.http"; use "mail.smtp"; HTTPRequest req = new HTTPRequest(); String to = getValue("to",""); if(to ne "") { int m = startEmail("any@address.net",to,"","","test from moto",2); sendBody(m,"\n"); sendBody(m,"This is a test\n"); endEmail(m); } }$