CDONTS Question

E

Ed Richter

I'm sending out a message via CDONTS mail and everything is fine except I'd like the part of the line below as shown between the bold tags to be bold Seems CDONTS doesn't like html commands?? Is there a way to format this properly to get that part of line to show text in bold?

sMailBody = sMailBody & "A "<B> & match_level_value & " " & Gender_value & </B>" official is needed" & vbNewLine & vbNewLine
 
T

Thomas A. Rowe

Do a Search for sending HTML email via CDONTS or CDOSYS.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

I'm sending out a message via CDONTS mail and everything is fine except I'd like the part of the
line below as shown between the bold tags to be bold Seems CDONTS doesn't like html commands?? Is
there a way to format this properly to get that part of line to show text in bold?

sMailBody = sMailBody & "A "<B> & match_level_value & " " & Gender_value & </B>" official is
needed" & vbNewLine & vbNewLine
 
S

Stefan B Rusynko

For a CDO solution see http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=46
For a CDONTS solution see http://www.powerasp.com/content/hintstips/asp-email.asp

PS
The HTML tags need to be in quotes in any ASP code in
& "</B> official is needed"
not
& </B>" official is needed"

--




I'm sending out a message via CDONTS mail and everything is fine except I'd like the part of the line below as shown between the
bold tags to be bold Seems CDONTS doesn't like html commands?? Is there a way to format this properly to get that part of line to
show text in bold?

sMailBody = sMailBody & "A "A "<B> & match_level_value & " " & Gender_value & </B>" official is needed" & vbNewLine & vbNewLine
 
E

Ed Richter

The link was very helpful

Regarding the PS, yeah, I thought it had to be inside the quotes. However
when it didn't work that way, I first tried messing around with that,
putting it outside quotes, etc. When I still couldn't get it to work figured
it was more involved and better ask for help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top