473,325 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

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 4699

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Paul Lamonby | last post by:
Hi, I am generating a HTML formatted email in PHP, but I am getting the most bizarre error, it will randomly delete characters out of the HTML code while in transit to the address, therefore...
8
by: ALESSANDRO Baraldi | last post by:
Hi and good evening. I need to show with Lebans RichTextBox a Mime decoded Message. I build an Mail Receiver, with MIME conversion. To show Html Message i think that it's need to rtf...
2
by: Paul Turley | last post by:
Does anyone have some sample code for sending an HTML formatted message using CDONTS? Thanks RE: Sending HTML formatted mail using CDONTS -- Paul Turley, MCSD, MCAD, MCT, MSF...
5
by: Steve Franks | last post by:
Is there any way to tell VS to automatically reformat my HTML view to add lines and tabs/spacing to create nicely formatted HTML in the viewer? I am using Visual Studio 2005 .NET Beta 2 For...
3
by: Craig Petrie | last post by:
Hi, I have a large table in Word 2003 that has formatted text in the cells and wish to read and convert a cells formatted contents to html output via vb.net code. The formatting contains the...
21
by: maya | last post by:
hi, I'm designing an HTML email for a client.. I know general guidelines (no CSS, no JavaScript... although I do use limited CSS, inside tags (as in <span style=".."we do this at work and it...
1
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the...
4
by: cybervigilante | last post by:
I sent HTML formatted email, using PHP, to my Yahoo address from my server, and it came out fine, styles and all. I sent it to my gmail address to test it and all I see is the raw html code. But I...
2
by: Artie | last post by:
Hi, I've searched the web but can't find a solution to an apparently really simple problem. My app contains an HTML string and I need to be able to invoke the Print Dialog to print the HTML...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.