I am creating a CDO email page and i would like to know how i can add multiple fields or refference multiple fields in the Body of the Email. Thank You

For each field of data you want to embedd in the email you could do something like this:

<%

If 	Request.Form("txtMessage") <> "" Then
	strMessage = Request.Form("txtMessage")
End If

Dim strBody

strBody = strBody & strMessage & vbCrLf

ObjSendMail.TextBody = strBody

%>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.