Is there a way for me to set different font options when using
CDO.Message in a VBScript? For example if I want bold lettering.

Thanks, Jeff

Re: CDO.Message Font Question by Bart

Bart
Wed Oct 17 14:31:32 PDT 2007

<jeff.j.carter@gmail.com> wrote in message
news:1192640611.990198.222250@i38g2000prf.googlegroups.com...
> Is there a way for me to set different font options when using
> CDO.Message in a VBScript? For example if I want bold lettering.
>
> Thanks, Jeff
>

I am sending my messages as HTML and therefore enter the text with the HTML
tags, i.e. <b>This text is bolded.</b>

It starts by defining the email as an HTML email. There is more to it but
here is how you define the HTML email.


Set objEmail = CreateObject("CDO.Message")
objEmail.HTMLBody = emailMessage ' emailMessage is the variable I use to
let the HTML tags accumulate. Then I put them in the HTMLBody.

Hope this helps.