create an html email in vb ?

Hi
at the moment my little app is creating a email in plain text, but
i need to be able to add fonts,colors, and mybe some small images into the body of the email.
Very similar to the html question notifications we receive from experts exchange on our questions -

thanks a
stack\


cheers
LVL 4
CraigLazarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Use CDONTS (or possibly CDO, as CDONTS is being phased out).
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
I use http://www.freevbcode.com/ShowCode.Asp?ID=109 to send HTML e-mails.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

vinnyd79Commented:
If you use Outlook you can try something like this:


Private Sub Command1_Click()
Dim objOutlook As Object
Dim objOutlookMsg As Object
Set objOutlook = CreateObject("Outlook.Application")
Set objOutlookMsg = objOutlook.CreateItem(0)

With objOutlookMsg
    .To = "someone@somewhere.com"
    .Cc = "someoneelse@somewhere.com"
    .Subject = "Hello......"
    .Body = "This is the body of message"
    .HTMLBody = "<H1>HTML version of message</H1>"
  '  .Attachments.Add ("c:\myFileToSend.txt")
    .Send
End With

Set objOutlookMsg = Nothing
Set objOutlook = Nothing
End Sub
0
CraigLazarAuthor Commented:
hi guys
thanks a stack, sorry i have been hectic,
will get to it now

thanks

cheers
0
CraigLazarAuthor Commented:
Hi
so sorry been away and so busy,
i have this week to go thru this stuff, canu please leave the question open for this
week and i promise to close it up by the ned of the week

thanks so much
Sorry to the experts who have helped here
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.