: well thanks but I know how to do it with Perl but I want to do it with Javascript. I dont know if its possible to include perl scrpits into HTML code.: In general...JavaScript = client sidePerl = server sideReliably sending mail formatted the way you want needs server side support. The end.