Setting the BodyFormat and MailFormat attributes of the NewMail object to 0, then specify the HTML to the Body property, you can transfer email in an HTML format, for example:
Set mail = server.createObject ("cdonts.newmail")
Mail.to = "
Abc@abc.com "
mail.from = "
123@123.com "
Mail.subject = "Hello"
mail.bodyformat = 0
Mail.mailformat = 0
Mail.body = body 'body is HTML format
Mail.send