You really should use something a little more professional than that, such as Microsoft's Collabrative Data Objects through ASP:

<%
Set CDO = Server.CreateObject("CDONTS.NewMail")
CDO.Subject = "subject"
CDO.To = "toemail"
CDO.From = "me!"
CDO.Body = "This is the body"
CDO.Send
%>