Join Our Mailing List
% ' Smart Mailer 1.0.7 ' Send on submit of form form1 if Request.ServerVariables("REQUEST_METHOD") = "POST" then Server.ScriptTimeout = 300 Set sm1 = new SmartMailer sm1.checkVersion "1.07" sm1.contentCharset = "us-ascii" Session.CodePage = sm1.getCodepage() sm1.smtpSetup "intmail.atlas.pipex.net", "25", "newsletter@thecowdray.co.uk", "news909090" sm1.pickup = "" sm1.component = "cdo" sm1.tmpFolder = "" sm1.embedImages = false sm1.progressBar = "" sm1.ignore_errors = true sm1.useQueue = false sm1.setFrom Request.Form("surname"), Request.Form("Email") sm1.setTo "The Cowdray Mailing List", "alexandandy@hotmail.co.uk" sm1.setCc "", "" sm1.setBcc "webtech88@gmail.com", "webtech88@gmail.com" sm1.Subject = "Newsletter Request" ' using static for body sm1.setBody_Static_html "" & (Request.Form("Name")) & "" & vbCRLF & "" & (Request.Form("surname")) & "" & vbCRLF & "" & (Request.Form("Email")) & "" & vbCRLF & "" & (Request.Form("telephone")) & "" & vbCRLF & "" & (Request.Form("company")) & "" & vbCRLF & "" & (Request.Form("hear")) & "" & vbCRLF & "" & (Request.Form("Comments")) & "" ' Attachments none sm1.sendMail "one" Response.Redirect "thankyou.html" end if SM_mailAction = getMailAction() %>

Join Our Mailing List