% ' Smart Mailer 1.0.6 ' Send on submit of form formMail if Request.ServerVariables("REQUEST_METHOD") = "POST" then Server.ScriptTimeout = 300 Set sm1 = new SmartMailer sm1.checkVersion "1.06" sm1.contentCharset = "us-ascii" Session.CodePage = sm1.getCodepage() sm1.smtpSetup "", "", "", "" sm1.pickup = "C:\Inetpub\mailroot\Pickup" sm1.component = "cdo" sm1.tmpFolder = "" sm1.embedImages = false sm1.progressBar = "" sm1.ignore_errors = true sm1.useQueue = false sm1.setFrom "Aspire Video Contact Form", "info@aspirevideo.com" sm1.setTo "Info @ Aspire Video", "info@aspirevideo.com" sm1.setCc "", "" sm1.setBcc "", "" sm1.Subject = "Contact Form from Aspire Video" ' using static for body sm1.setBody_Static_html "The following information was gathered via the Aspire Video Contact Form:" & vbCRLF & "" & vbCRLF & "Name:" & vbCRLF & "" & (Request.Form("your_name")) & "" & vbCRLF & "" & vbCRLF & "Email:" & vbCRLF & "" & (Request.Form("email")) & "" & vbCRLF & "" & vbCRLF & "Phone:" & vbCRLF & "" & (Request.Form("phone")) & "" & vbCRLF & "" & vbCRLF & "Found Us Where?:" & vbCRLF & "" & (Request.Form("through")) & "" & vbCRLF & "" & vbCRLF & "Comments/Questions/Wedding Date:" & vbCRLF & "" & (Request.Form("comments")) & "" & vbCRLF & "" ' Attachments none sm1.sendMail "one" Response.Redirect "thanks.htm" end if SM_mailAction = getMailAction() %>