469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

CDO - HTML formatted

Hello friends,
Don't know if i am posting to the right group, but if anyone has an idea
about this please let me know.

I just wanted to ask that is it true that it is not possible to send HTML
Formatted emails from ASP through CDO. (CDOSYS).
I mean I am able to send the email which is HTML formatted through CDONTS
that sends email through Virtual SMTP server and i get a proper looking
email.
But when i tried same in CDO then all i got in email was not the email but
the code of the email.
So do i have to specify some extra parameter in it like in CDONTS while
sending HTML formatted email i am setting the format as below

ObjMail.BodyFormat = 0
ObjMail.MailFormat = 0

or the facility is only not available. The reason i am being very curious is
because CDO 1.2 has lots of more features then CDONTS and so i can't believe
that after have being a superset its could just be lagging in this aspect.

Thanks
Jul 19 '05 #1
3 4521

"Niel" <na*******@vippowernet.com> wrote in message
news:uE**************@TK2MSFTNGP11.phx.gbl...
Hello friends,
Don't know if i am posting to the right group, but if anyone has an idea
about this please let me know.

I just wanted to ask that is it true that it is not possible to send HTML
Formatted emails from ASP through CDO. (CDOSYS).
Untrue.
sBody = "<html><head><title>An E-mail from
Niel</title></head><body><strong>HEY!</strong></body></html>"
ObjMail.HtmlBody = sBody
Ray at work
I mean I am able to send the email which is HTML formatted through CDONTS
that sends email through Virtual SMTP server and i get a proper looking
email.
But when i tried same in CDO then all i got in email was not the email but
the code of the email.
So do i have to specify some extra parameter in it like in CDONTS while
sending HTML formatted email i am setting the format as below

ObjMail.BodyFormat = 0
ObjMail.MailFormat = 0

or the facility is only not available. The reason i am being very curious is because CDO 1.2 has lots of more features then CDONTS and so i can't believe that after have being a superset its could just be lagging in this aspect.

Thanks

Jul 19 '05 #2
> I just wanted to ask that is it true that it is not possible to send HTML
Formatted emails from ASP through CDO. (CDOSYS).


FALSE.

http://www.aspfaq.com/2474

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #3
Thanks for the reply.
May be i was doing something wrong or may be have missed a quote due to
which i was getting the raw format /code in email.
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:#I**************@TK2MSFTNGP09.phx.gbl...
I just wanted to ask that is it true that it is not possible to send HTML Formatted emails from ASP through CDO. (CDOSYS).


FALSE.

http://www.aspfaq.com/2474

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Paul Lamonby | last post: by
8 posts views Thread by ALESSANDRO Baraldi | last post: by
2 posts views Thread by Paul Turley | last post: by
5 posts views Thread by Steve Franks | last post: by
3 posts views Thread by Craig Petrie | last post: by
21 posts views Thread by maya | last post: by
1 post views Thread by robbiesmith79 | last post: by
4 posts views Thread by cybervigilante | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.