Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS.Newmail


Message #1 by "itay" <ibehar@g...> on Wed, 20 Sep 2000 15:04:18 +0100
wazzzz up!!!!



I succeeded in sending mail using the CDONTS.Newmail.  However, I have a

problem viewing the body of the message in HTML format.



I used the following commands:



objSendMail.MailFormat = 0

objSendMail.BodyFormat = 0'CdoBodyFormatHTML



When I use the above properties I get an empty body message, however in

the view source, the proper text appears.



Here is the source:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-8">

<TITLE>Greetings<TITLE></HEAD><BODY><P>What a
<STRONG>Wonderful</STRONG>day!</P></BODY></HTML>



If I don't use the above properties, I get the source as a plain text.



Thanks Itay

Message #2 by "Sebastian Pittari" <mailing@3...> on Wed, 20 Sep 2000 18:14:20 -0300
An obvious item to check... is your email client capable of handling HTML

email bodies?



	|-----Original Message-----

	|From: itay [mailto:ibehar@g...]

	|Sent: Wednesday, September 20, 2000 11:04 AM

	|To: ASP CDO

	|Subject: [asp_cdo] CDONTS.Newmail

	|

	|

	|wazzzz up!!!!

	|

	|I succeeded in sending mail using the CDONTS.Newmail.

	|However, I have a

	|problem viewing the body of the message in HTML format.

	|

	|I used the following commands:

	|

	|objSendMail.MailFormat = 0

	|objSendMail.BodyFormat = 0'CdoBodyFormatHTML

	|

	|When I use the above properties I get an empty body

	|message, however in

	|the view source, the proper text appears.

	|

	|Here is the source:

	|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0

	|Transitional//EN"> <HTML><HEAD>

	|<META HTTP-EQUIV="Content-Type" CONTENT="text/html;

	|charset=iso-8859-8">

	|<TITLE>Greetings<TITLE></HEAD><BODY><P>What a

	|<STRONG>Wonderful</STRONG>day!</P></BODY></HTML>

	|

	|If I don't use the above properties, I get the source as a

	|plain text.

	|

	|Thanks Itay




  Return to Index