Email Form

<% Name = Request.Form("name") SenderEmail = Request.Form("email") Subject = "Regarding " & Request.Form ("subject") Recipient = Request.Form("recipient") Body = Request.Form("body") Set JMail = Server.CreateObject ("JMail.SMTPMail") ' Below you should enter your own SMTP-server JMail.ServerAddress = "imap.systemetit.se" JMail.Sender = Senderemail JMail.Subject = Subject JMail.AddRecipient Recipient "jan.forsberg@cybercom.se" JMail.Body = Body JMail.Priority = 3 JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR") JMail.Execute %>
Your email has been sent to<%= Recipient % >