> Can anyone tell how i can send mail from templates (to mail form data to > somebody)?
You don't need to send mail from templates. Just build the form with a template and have it submit to another handler which collects the data and mails it. You can use another template for the e-mail. There are also lots of CPAN modules for automating form handling. - Perrin
