...

View Full Version : Bold Text in Auto Generated Email



dude9er
03-15-2006, 07:07 PM
I have an email that I would like to control the feel of by bolding certain elements.


Const strHeader = "Membership Redemption"

I reference this in the email response strBody


strBody = strHeader & ( vbCrLf & vbCrLf ) & "Thank you for booking your vacation"

How do I bold the Const strHeader in the example above?

thanks for any feedback!!!

miranda
03-16-2006, 03:00 AM
use HTML instead of plain text in your email message

Archangel
03-16-2006, 01:06 PM
And then just make sure it knows you're using HTML.

Mail.IsHTML

Or something like that.

degsy
03-16-2006, 02:37 PM
If using CDO then use HTMLBody



<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.HTMLBody = "<h1>This is a message.</h1>"
myMail.Send
set myMail=nothing
%>

http://www.w3schools.com/asp/asp_send_email.asp



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum