Hello
Having gathered various contact details in a form and sent these off to a database, I want to sent a confirmation of booking to the customer who has filled in the form.
----------------------
dim objCMail
Set objCMail = Server.CreateObject("CDONTS.NewMail")
objCMail.From = "
[email protected]"
objCMail.To = strEmail
objCMail.Subject = "Your CPD Booking " & strName
objCMail.BCC = "
[email protected]"
objCMail.Body = "Thank you for booking a place on " & strCourse & VBcrlf & VBcrlf & "This course costs £" & strFee & "." & VBcrlf & "Invoice Address:" & VBcrlf & strIaddress & VBcrlf & VBcrlf & "If you are paying by cheque, please make cheques payable to... etcetc."
objCMail.Send
Set objCMail = nothing
--------------------------------
This works fine as long as strEmail is my own address, or any address within our domain, but it wont send to any external addresses, and nothing is bcc'd to hotmail.
I suspect I have to do some tweaks serverside (2000 server), but I don't know which and where... Any tips?
Also, is it possible to set up and send another mail object after setting this one to nothing? I'd like to send some slightly different information to another party.
Thanks in advance for your input.