<%@Language="JScript"%> <% var page = "Contact"; var mail = Request.Form("email").item; var name = Request.Form("name").item; var body = Request.Form("body").item; var bSendLink = (Request.Form("what").item == "sendlink"); var mailSent = false; var qwerty = Request.Form("qwerty").item; if( mail && body && qwerty == "ytrewq" ) { var m = Server.CreateObject( "CDONTS.NewMail" ) m.To = "tonyk@tonyk.se"; m.From = "hemsidan@tonyk.se"; m.Subject = "Från tonyk.se"; m.Body = "Från " + name + " (" + mail + ")\r\n\r\n" + body; m.Host = "mailout.b-one.net"; m.Value("Reply-To") = mail; m.Send(); m = null; mailSent = true; } putHeader(true, page); %>
  • Home
  • Projects
  • Categories
  • Writings
  • About
  • Contact
  • <% if( !mailSent ) { %>
    <% } else { Response.Write( Application("MailSent") ); } %>
    <%=Application(" src="<%=Application("ImageContact")%>" <%=Session("Authenticated")?"onclick=\"editAppImage('ImageContact', '" + Application("ImageContact") + "', '" + Application("ImageContactAlt") + "')\" ":""%>/>
    <% putFooter(); %>