I have a form mail processor from brainjar.com, I am using.(http://www.brainjar.com/asp/formmail/) I have modified it slightly to do some things. I am trying to get it to cc a copy of the email it generates to the person who filled out the form. I have added bolded part below to the actual email sending portion of the script. However i do not receieve two emails, only one, the email i do receive lists the cc: in the headers but that receipient does not receive it?
does anyone know why this is or what i may be doing wrong??
Thanks Much
Matthew Loraditch - Baltimore County Savings Bank, FSB.
if mailComp = "CDOSYS" then
set cdoMessage = Server.CreateOb ject("CDO.Messa ge")
set cdoConfig = Server.CreateOb ject("CDO.Confi guration")
cdoConfig.Field s("http://schemas.microso ft.com/cdo/configuration/sendusing") = 2
cdoConfig.Field s("http://schemas.microso ft.com/cdo/configuration/smtpserver") = smtpServer
cdoConfig.Field s.Update
set cdoMessage.Conf iguration = cdoConfig
cdoMessage.From = replyTo
cdoMessage.Repl yTo = replyTo
cdoMessage.To = recipients
cdoMessage.CC = replyTo
cdoMessage.Subj ect = subject
cdoMessage.Html Body = body
on error resume next
cdoMessage.Send
if Err.Number <> 0 then
SendMail = "Email send failed: " & Err.Description & "."
end if
set cdoMessage = Nothing
set cdoConfig = Nothing
exit function
end if