Hello
I use CDONTS on a Web site which works fine. The visitor inputs information via an online form and a copy is sent to the webmaster and the visitor himself:
<%
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "Webmaster@hisSite.com"
ObjMail.CC = sEmailAddress
ObjMail.From = sEmailAddress
ObjMail.Subject = "Feedback"
ObjMail.Body = sFullNameTitle & vbcrlf&_
sFullName & vbcrlf&_
sEmailTitle & vbcrlf&_
sEmailAddress & vbcrlf&_
sBusinessTitle & vbcrlf&_
sBusinessName & vbcrlf&_
sCountryTitle & vbcrlf&_
sCountryName & vbcrlf&_
MessageName & vbcrlf&_
MessageTitle
ObjMail.Send
Set ObjMail = Nothing
%>
When the Webmaster/visitor receive their copies (by email, of course), it looks a bit boring, as in:
Name
John Smith
Email
JSmith@whatever.com
Business
Mechanics
etc
How would I make this message a little more attractive? For instance, to put Name, Email, etc in bold, or maybe use a different font from courier?
Many thanks
Steve
I use CDONTS on a Web site which works fine. The visitor inputs information via an online form and a copy is sent to the webmaster and the visitor himself:
<%
Dim ObjMail
Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.To = "Webmaster@hisSite.com"
ObjMail.CC = sEmailAddress
ObjMail.From = sEmailAddress
ObjMail.Subject = "Feedback"
ObjMail.Body = sFullNameTitle & vbcrlf&_
sFullName & vbcrlf&_
sEmailTitle & vbcrlf&_
sEmailAddress & vbcrlf&_
sBusinessTitle & vbcrlf&_
sBusinessName & vbcrlf&_
sCountryTitle & vbcrlf&_
sCountryName & vbcrlf&_
MessageName & vbcrlf&_
MessageTitle
ObjMail.Send
Set ObjMail = Nothing
%>
When the Webmaster/visitor receive their copies (by email, of course), it looks a bit boring, as in:
Name
John Smith
JSmith@whatever.com
Business
Mechanics
etc
How would I make this message a little more attractive? For instance, to put Name, Email, etc in bold, or maybe use a different font from courier?
Many thanks
Steve