Hi asifxp
try this code.
<%
str=""
str=str & "<link href='" & imgpath & "css-site1.css' rel='stylesheet' type='text/css'>"
str=str+"<table border='0' width='634' cellspacing='0' cellpadding='0' class='smalltxt' background='" & imgpath & "mailback.jpg'>"
str=str+"<tr>"
str=str+"<td width='3%'> </td>"
str=str+"<td width='97%'>"
str=str+"<table border='0' width='634' class='smalltxt'>"
str=str+"<tr>"
str=str+"<td width='290' valign='top' colspan='3'><img border='0' src='" & imgpath & "teranet_contactusmail.gif' width='128' height='19'></td>"
str=str+"<td width='10' valign='top'> </td>"
str=str+"<td width='334' valign='top' colspan='3'> </td>"
str=str+"</tr>"
str=str+"<tr>"
str=str+"<td width='290' valign='top' colspan='3'> </td>"
str=str+"<td width='10' valign='top'> </td>"
str=str+"<td width='334' valign='top' colspan='3'> </td>"
str=str+"</tr>"
str=str+"<tr>"
str=str+"<td width='290' valign='top' colspan='3'><b>Srilanka Office Address:</b></td>"
str=str+"<td width='10' valign='top'></td>"
str=str+"<td width='334' valign='top' colspan='3'><b>Trust Net Marketing</b></td>"
str=str+"</tr>"
str=str+"<tr>"
str=str+"<td width='634' valign='top' colspan='7'><img border='0' src='" & imgpath & "teranet_msiltra.gif' width='20' height='7'></td>"
str=str+"</tr>"
str=str+"</table>"
str=str+"</td>"
str=str+"</tr>"
str=str+"</table>"
Set objCDOMail1 = Server.CreateObject("CDONTS.NewMail")
strMainTo="
[email protected]"
strTo = "
[email protected]"
strSubject = "Contact Us"
objCDOMail1.From = "
[email protected]"
objCDOMail1.To = strTo
objCDOMail1.Subject = strSubject
objCDOMail1.cc =strCopy
objCDOMail1.BodyFormat= 0
objCDOMail1.MailFormat = 0
objCDOMail1.Body = str
objCDOMail1.Importance = 2
objCDOMail1.Send
Set objCDOMail1 = Nothing
Response.Write str
%>
surendran
(Anything is Possible)