Forum Moderators: open
all i want is, to send data to a specified email.
i have some details in my database...
i want to send it to a specified email using asp..
i am using windows 2000 professional and MS SQL 2000
is there anything to configure in my machine.
i don't know how to do it..
plzzzz.. can anybody help..
thanks in advance..
<%
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "recipient@domain.#*$!"
objCDO.From = "sender@domain.xxx"
objCDO.Subject = "Subject Line"
objCDO.Body = "Body"
objCDO.Send
%>
So, essentially you'd want to create a recordset and substitute database field values for whichever parts of the message vary.