woodywyatt
Vendor
I've tried to add the highlighted code to this Jmail script to send a carbon copy but it aint working! Any ideas what's wrong with it??
<%
Name = Request.Form("name"
SenderEmail = Request.Form("email"
Subject = "Regarding " & Request.Form("subject"
Recipient = Request.Form("recipient"
Body = Request.Form("body"
CCRecipient = Request.Form("copy"
Set JMail = Server.CreateObject("JMail.SMTPMail"
JMail.ServerAddress = "smtp.myserver.com"
JMail.Sender = Senderemail
JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.AddCCRecipient CCRecipient
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR"
JMail.Logging = True
JMail.Execute
%>
<%
Name = Request.Form("name"
SenderEmail = Request.Form("email"
Subject = "Regarding " & Request.Form("subject"
Recipient = Request.Form("recipient"
Body = Request.Form("body"
CCRecipient = Request.Form("copy"
Set JMail = Server.CreateObject("JMail.SMTPMail"
JMail.ServerAddress = "smtp.myserver.com"
JMail.Sender = Senderemail
JMail.Subject = Subject
JMail.AddRecipient Recipient
JMail.AddCCRecipient CCRecipient
JMail.Body = Body
JMail.Priority = 3
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR"
JMail.Logging = True
JMail.Execute
%>