hmcheung
Mar 14th, 2001, 11:13 PM
I'm using VB to generate emails in the outbox of outlook 2000. My code is like this:
set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.To = rs!email
.Subject = mySubject
.HTMLbody = "..................... "
.Send
End With
set objOutlookMsg = Nothing
Like this I can only send emails in HTML format. If the user is using a text-only email client, he can't read the email correctly. What should do to make the email in HTML and TXT format where appropriate? Thanks a lot!!
set objOutlookMsg = objOutlook.CreateItem(olMailItem)
With objOutlookMsg
.To = rs!email
.Subject = mySubject
.HTMLbody = "..................... "
.Send
End With
set objOutlookMsg = Nothing
Like this I can only send emails in HTML format. If the user is using a text-only email client, he can't read the email correctly. What should do to make the email in HTML and TXT format where appropriate? Thanks a lot!!