By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,679 Members | 1,592 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,679 IT Pros & Developers. It's quick & easy.

CDO - HTML formatted

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a

"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

P: n/a
> 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

P: n/a
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.