Some people would say that you should just send plain text e-mail, since you
cannot control the environment in which your message will be read. I don't
necessarily fully disagree with this. The other option is to send a
multipart message that contains both an HTML version and a plain text
version of your message.
<quote source="http://www.aspfaq.com/show.asp?id=2474">
If you have a registered copy of ASPEmail 4.5 (
http://www.aspemail.com/),
you can provide multipart content, so that non-HTML-aware readers can have
an alternate version:
<%
Set RegASPEMailer = Server.CreateObject("Persits.MailSender")
With RegASPEmailer
.Host = SMTPServer
.IsHTML = True
.FromName = FromName
.From = FromAddress
.AddAddress ToAddress, ToName
.Subject = Subject
.Body = htmlbody
.AltBody = textbody
.Send
End With
Set RegASPEMailer = Nothing
%>
</quote>
Multipart with CDO:
http://msdn.microsoft.com/library/de...a/delivery.asp
Ray at home
"dave" <an*******@discussions.microsoft.com> wrote in message
news:49****************************@phx.gbl...
Hi guys
I'm sending email using CDO Message in HTML Formatted.
There is no problem if client side is HTML Enable. But if
it doesnt not, its showing all html tags in message body.
How can I solve this?
Thanx
code snippet
body = <html>
body = body & "<b>Hello</b>"
body = body & "</html>"