Forum Moderators: open
The error I get is:
Object doesn't support this property or method: 'To'
Line 55
I'm sure 'To' is a valid property, so why the error?
Here's my code
****************************************************
Dim NewMail
Set NewMail = Server.CreateObject("CDONTS.NewMail")
NewMail.From = "vw@computronix.com"
NewMail.To "vincentwansink@shaw.ca"
NewMail.Subject = "RHA Quarterly Reports Database"
NewMail.Body = "This is a system generated email. Do Not Reply."
NewMail.AttachFile Server.Mappath("db/rhaqtr.mdb")
NewMail.Send
****************************************************
Anybody have a clue? I would appreciate any comments to maybe steer me in the right direction.
Vince.