HTML format preservation

Status
Not open for further replies.
J

Jim

Hello,

I'm trying to send HTML format messages. My Exchange server is version 6.5.

I generate mail messages by programatically composing my message text with

HTML (e.g. <html> <body>Hello World</body></HTML>) and assigning it to the

> .HTMLbody property of the message object.

I then send the message to a specified address. When I send the message to

an account on the local mail server the message content is presented with

layout and formatting I've composed. HOWEVER, when I send the message to an

outside account(e.g. hotmail or yahoo mail) the HTML formatting is lost and

I get and non-formatted message that looks pretty ugly.

What do I need to change to get my messages to retain their HTML body

format? I know it's possible because I receive many of them every day. I

haven't found a solution however. Can someone comment and/or point me to an

example of a solution?

Thanks!

Jim M.
 
How any HTML you create is changed on send depends on the Outlook version

you're using and whether or not WordMail is being used for the items.

You will need to examine the HTML you get that looks correctly formatted and

how what you are sending is getting changed. You need to work with the HTML

limitations imposed by Outlook.

Most of the formatted emails you are getting are either not using Outlook or

they are following the restrictions imposed on Outlook HTML in the name of

security.

"Jim" <idon't@want.spam> wrote in message

news:eycNvuTJKHA.1492@TK2MSFTNGP03.phx.gbl...
> Hello,

> I'm trying to send HTML format messages. My Exchange server is version
> 6.5.

> I generate mail messages by programatically composing my message text with
> HTML (e.g. <html> <body>Hello World</body></HTML>) and assigning it to the
> .HTMLbody property of the message object.
> I then send the message to a specified address. When I send the message
> to an account on the local mail server the message content is presented
> with layout and formatting I've composed. HOWEVER, when I send the
> message to an outside account(e.g. hotmail or yahoo mail) the HTML
> formatting is lost and I get and non-formatted message that looks pretty
> ugly.

> What do I need to change to get my messages to retain their HTML body
> format? I know it's possible because I receive many of them every day. I
> haven't found a solution however. Can someone comment and/or point me to
> an example of a solution?

> Thanks!

> Jim M.

>
 
Ken,

Thanks for the response.

I've examined the html before send and what's received on mail server(Do I

need to look at the msg rec'd over the internet at different address?) What

problems am I looking for. This seems like pretty simple html content.:

Source of msg received on my mail server:

<HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:

100px;}.style3{ width: auto;} </style
<HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
<BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =

'C:\Users\jimm\Documents\Promo ID_files\image002.jpg'ALIGN= 'center'></a
<!--width='100' height='100'<BODY> <P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura

Drive</EM><BR> <EM>Howard Lake, MN 55349</EM><BR> <BR
<EM>1-888-711-3872</EM><BR
<BR> Statement Date: 08/24/2009 <BR
<BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales Person

Promotion ID: <strong>IDNumber</strong> <BR
<BR> <HR NOSHADE color = 'Black'> <BR
<table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
<CAPTION>Preliminary List of Qualifying Orders</CAPTION
<TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark Carton</TD><TD

class= 'style2'>Est. Cabinets</TD><TD class = 'style1'> Estimated

Amount</TD></TR
<TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN

KILGORE</TD> <TD class='style2'>14.00</TD><TD

class='style1'>140.00</TD></TR
<TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN

KILGOREB</TD> <TD class='style2'>5.00</TD><TD class='style1'>50.00</TD></TR
<TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN

KILGORE</TD> <TD class='style2'>1.00</TD><TD class='style1'>10.00</TD></TR
<TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN

KILGOREM</TD> <TD class='style2'>2.00</TD><TD class='style1'>20.00</TD></TR
<TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD> <TD

class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
<tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
</TABLE
<BR> If you have questions about this statement please contact Customer

Service.<BR> PHONE: (888) 711-3872</BODY
</HTML
Source of msg before assignment to the HTMLbody of the email during

creation:

<HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:

100px;}.style3{ width: auto;} </style
<HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
<BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =

'C:\Users\jmccoy\Documents\Promo ID_files\image002.jpg'ALIGN= 'center'></a
<!--width='100' height='100'--> <BODY
<P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura Drive</EM><BR
<EM>Howard Lake, MN 55349</EM><BR
<BR> <EM>1-888-711-3872</EM><BR
<BR> Statement Date: 08/25/2009 <BR
<BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales Person

Promotion ID: <strong>IDNumber</strong> <BR
<BR> <HR NOSHADE color = 'Black'> <BR
<table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
<CAPTION>Preliminary List of Qualifying Orders</CAPTION
<TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark Carton</TD><TD

class= 'style2'>Est. Cabinets</TD><TD class = 'style1'> Estimated

Amount</TD></TR
<TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN

KILGORE</TD> <TD class='style2'>14.00</TD><TD

class='style1'>140.00</TD></TR
<TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN

KILGOREB</TD> <TD class='style2'>5.00</TD><TD class='style1'>50.00</TD></TR
<TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN

KILGORE</TD> <TD class='style2'>1.00</TD><TD class='style1'>10.00</TD></TR
<TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN

KILGOREM</TD> <TD class='style2'>2.00</TD><TD class='style1'>20.00</TD></TR
<TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD> <TD

class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
<tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
</TABLE
<BR> If you have questions about this statement please contact Customer

Service.<BR> PHONE: (888) 711-3872</BODY
</HTML <kenslovak@mvps.org> wrote in message

news:uxeiJ9YJKHA.5956@TK2MSFTNGP03.phx.gbl...
> How any HTML you create is changed on send depends on the Outlook version
> you're using and whether or not WordMail is being used for the items.

> You will need to examine the HTML you get that looks correctly formatted
> and how what you are sending is getting changed. You need to work with the
> HTML limitations imposed by Outlook.

> Most of the formatted emails you are getting are either not using Outlook
> or they are following the restrictions imposed on Outlook HTML in the name
> of security.

> >

>

> "Jim" <idon't@want.spam> wrote in message
> news:eycNvuTJKHA.1492@TK2MSFTNGP03.phx.gbl...
> > Hello,
>

>> I'm trying to send HTML format messages. My Exchange server is version
> > 6.5.
>

>> I generate mail messages by programatically composing my message text
> > with HTML (e.g. <html> <body>Hello World</body></HTML>) and assigning it
> > to the .HTMLbody property of the message object.
> > I then send the message to a specified address. When I send the message
> > to an account on the local mail server the message content is presented
> > with layout and formatting I've composed. HOWEVER, when I send the
> > message to an outside account(e.g. hotmail or yahoo mail) the HTML
> > formatting is lost and I get and non-formatted message that looks pretty
> > ugly.
>

>> What do I need to change to get my messages to retain their HTML body
> > format? I know it's possible because I receive many of them every day.
> > I haven't found a solution however. Can someone comment and/or point me
> > to an example of a solution?
>

>> Thanks!
>

>> Jim M.
>

>>

>
 
If your problem is with emails sent out of organization, then yes you need

to look at what's being received.

I'm no HTML expert and I'm not about to try to analyze all that HTML you

posted. You're going to have to do the detective work to see what's being

altered and how, and how that affects how the HTML emails display when

received. Moreover, I still have no idea what you are using to send the

emails and how, so that would make it even harder to figure out what's going

on.

You can also google for information on how each version of Outlook handles

and restricts HTML, such as not using CSS or whatever. That depends also on

Outlook version and whether or not WordMail is being used.

"jpm" <uh@Idetestspam@mars> wrote in message

news:OJUmUWZJKHA.3632@TK2MSFTNGP05.phx.gbl...
> Ken,

> Thanks for the response.

> I've examined the html before send and what's received on mail server(Do I
> need to look at the msg rec'd over the internet at different address?)
> What problems am I looking for. This seems like pretty simple html
> content.:

> Source of msg received on my mail server:
> <HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:
> 100px;}.style3{ width: auto;} </style
> <HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
> <BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =
> 'C:\Users\jimm\Documents\Promo ID_files\image002.jpg'ALIGN= 'center'></a
> <!--width='100' height='100'> <BODY> <P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura
> Drive</EM><BR> <EM>Howard Lake, MN 55349</EM><BR> <BR
> <EM>1-888-711-3872</EM><BR
> <BR> Statement Date: 08/24/2009 <BR
> <BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales Person
> Promotion ID: <strong>IDNumber</strong> <BR
> <BR> <HR NOSHADE color = 'Black'> <BR
> <table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
> <CAPTION>Preliminary List of Qualifying Orders</CAPTION
> <TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark Carton</TD><TD
> class= 'style2'>Est. Cabinets</TD><TD class = 'style1'> Estimated
> Amount</TD></TR
> <TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN
> KILGORE</TD> <TD class='style2'>14.00</TD><TD
> class='style1'>140.00</TD></TR
> <TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN
> KILGOREB</TD> <TD class='style2'>5.00</TD><TD
> class='style1'>50.00</TD></TR
> <TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN
> KILGORE</TD> <TD class='style2'>1.00</TD><TD
> class='style1'>10.00</TD></TR
> <TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN
> KILGOREM</TD> <TD class='style2'>2.00</TD><TD
> class='style1'>20.00</TD></TR
> <TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD
> <TD class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
> <tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
> </TABLE
> <BR> If you have questions about this statement please contact Customer
> Service.<BR> PHONE: (888) 711-3872</BODY
> </HTML

> Source of msg before assignment to the HTMLbody of the email during
> creation:
> <HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:
> 100px;}.style3{ width: auto;} </style
> <HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
> <BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =
> 'C:\Users\jmccoy\Documents\Promo ID_files\image002.jpg'ALIGN=
> 'center'></a
> <!--width='100' height='100'--> <BODY
> <P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura Drive</EM><BR
> <EM>Howard Lake, MN 55349</EM><BR
> <BR> <EM>1-888-711-3872</EM><BR
> <BR> Statement Date: 08/25/2009 <BR
> <BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales Person
> Promotion ID: <strong>IDNumber</strong> <BR
> <BR> <HR NOSHADE color = 'Black'> <BR
> <table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
> <CAPTION>Preliminary List of Qualifying Orders</CAPTION
> <TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark Carton</TD><TD
> class= 'style2'>Est. Cabinets</TD><TD class = 'style1'> Estimated
> Amount</TD></TR
> <TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN
> KILGORE</TD> <TD class='style2'>14.00</TD><TD
> class='style1'>140.00</TD></TR
> <TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN
> KILGOREB</TD> <TD class='style2'>5.00</TD><TD
> class='style1'>50.00</TD></TR
> <TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN
> KILGORE</TD> <TD class='style2'>1.00</TD><TD
> class='style1'>10.00</TD></TR
> <TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN
> KILGOREM</TD> <TD class='style2'>2.00</TD><TD
> class='style1'>20.00</TD></TR
> <TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD
> <TD class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
> <tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
> </TABLE
> <BR> If you have questions about this statement please contact Customer
> Service.<BR> PHONE: (888) 711-3872</BODY
> </HTML>
 
Ken,

In this instance, I'm creating the message using Access 2007/VBA with

references to the Outlook library and to Dimitry's Redemption library, which

I'm using to bypass the security prompts. Using the Outlook mail item object

I create the message object and assign message content and then save,

assign to the Redemption mail object and invoke the Send method/function.

Below is the same message received in a Hotmail account. Included is the

header information. I don't know much about this but I do notice that the

content-type is text/plain. It seems it ought to be text/html. Not sure

how to change these settings. -- JimM

X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtTQ0w9MA==

X-Message-Status: n:0

X-SID-PRA: Jimm<myaddr@durasupreme.com
X-Message-Info:

JGTYoYF78jFShgg23ljGMOwCigthg/rOwtanBQaf7XxSi8SaWFGK85cvbvWz5u2fdZ08NPTbdyqGuj5T2zok8TEJaueUtncx

Received: from willow.durasupreme.com ([64.198.39.204]) by

col0-mc2-f17.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);

Mon, 24 Aug 2009 14:49:02 -0700

Received: From maple.durasupreme.com ([192.168.1.9]) by

willow.durasupreme.com (WebShield SMTP v4.5 MR3)

id 1251150541182; Mon, 24 Aug 2009 16:49:01 -0500

X-MimeOLE: Produced By Microsoft Exchange V6.5

Content-class: urn:content-classes:message

MIME-Version: 1.0

Content-Type: text/plain;

charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

Subject: Dura Supreme -- Spiff Statement

Date: Mon, 24 Aug 2009 16:48:47 -0500

Message-ID: <BAE339B2E60DE44F87EAE9350A5E21FC025849CC@maple.durasupreme.com
X-MS-Has-Attach:

X-MS-TNEF-Correlator:

Thread-Topic: Dura Supreme -- Spiff Statement

Thread-Index: AcolBLDYhzoc6+flQeugdkaUkzmO9g==

From: "Jimm" <myaddr@durasupreme.com
To: "Jimm" <myaddr@hotmail.com
Return-Path: myAddr@durasupreme.com

X-OriginalArrivalTime: 24 Aug 2009 21:49:02.0996 (UTC)

FILETIME=[B2009540:01CA2504]

<http://www.durasupreme.com>

Dura Supreme, Inc.

300 Dura Drive

Howard Lake, MN 55349

1-888-711-3872

Statement Date: 08/24/2009

PersonName

Street

City, State, Zip

Sales Person Promotion ID: IDnum

________________________________

Preliminary List of Qualifying Orders

Order # PO # Mark Carton Est. Cabinets Estimated Amount=09

718746 SM 10336 ZIERDEN KILGORE 14.00 140.00=09

718748 SM10338 ZIERDEN KILGOREB 5.00 50.00=09

718749 SM10341 ZIERDEN KILGORE 1.00 10.00=09

718795 SM 10337 ZIERDEN KILGOREM 2.00 20.00=09

719037 SM10359 STROMQUIST 4.00 40.00=09

Total: $260.00 =09

If you have questions about this statement please contact Customer

Service.

PHONE: (888) 711-3872

*************************end of misformatted

message******************************************************
<kenslovak@mvps.org> wrote in message

news:Ortj0cZJKHA.4900@TK2MSFTNGP04.phx.gbl...
> If your problem is with emails sent out of organization, then yes you need
> to look at what's being received.

> I'm no HTML expert and I'm not about to try to analyze all that HTML you
> posted. You're going to have to do the detective work to see what's being
> altered and how, and how that affects how the HTML emails display when
> received. Moreover, I still have no idea what you are using to send the
> emails and how, so that would make it even harder to figure out what's
> going on.

> You can also google for information on how each version of Outlook handles
> and restricts HTML, such as not using CSS or whatever. That depends also
> on Outlook version and whether or not WordMail is being used.

> >

>

> "jpm" <uh@Idetestspam@mars> wrote in message
> news:OJUmUWZJKHA.3632@TK2MSFTNGP05.phx.gbl...
> > Ken,
>

>> Thanks for the response.
>

>> I've examined the html before send and what's received on mail server(Do
> > I need to look at the msg rec'd over the internet at different address?)
> > What problems am I looking for. This seems like pretty simple html
> > content.:
>

>> Source of msg received on my mail server:
> > <HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:
> > 100px;}.style3{ width: auto;} </style
>> <HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
>> <BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =
> > 'C:\Users\jimm\Documents\Promo ID_files\image002.jpg'ALIGN= 'center'></a
>> <!--width='100' height='100'>> <BODY> <P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura
> > Drive</EM><BR> <EM>Howard Lake, MN 55349</EM><BR> <BR
>> <EM>1-888-711-3872</EM><BR
>> <BR> Statement Date: 08/24/2009 <BR
>> <BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales
> > Person Promotion ID: <strong>IDNumber</strong> <BR
>> <BR> <HR NOSHADE color = 'Black'> <BR
>> <table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
>> <CAPTION>Preliminary List of Qualifying Orders</CAPTION
>> <TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark
> > Carton</TD><TD class= 'style2'>Est. Cabinets</TD><TD class = 'style1'
>> Estimated Amount</TD></TR
>> <TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN
> > KILGORE</TD> <TD class='style2'>14.00</TD><TD
> > class='style1'>140.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN
> > KILGOREB</TD> <TD class='style2'>5.00</TD><TD
> > class='style1'>50.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN
> > KILGORE</TD> <TD class='style2'>1.00</TD><TD
> > class='style1'>10.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN
> > KILGOREM</TD> <TD class='style2'>2.00</TD><TD
> > class='style1'>20.00</TD></TR
>> <TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD
>> <TD class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
>> <tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
>> </TABLE
>> <BR> If you have questions about this statement please contact Customer
> > Service.<BR> PHONE: (888) 711-3872</BODY
>> </HTML
>
>
>
>> Source of msg before assignment to the HTMLbody of the email during
> > creation:
> > <HTML> <style type='text/css'> .style1 {width: 150px;}.style2{width:
> > 100px;}.style3{ width: auto;} </style
>> <HEAD> <TITLE>DURA SUPREME SPIFF STATEMENT</TITLE> </HEAD
>> <BR><A HREF= 'http://www.durasupreme.com'><IMG SRC =
> > 'C:\Users\jmccoy\Documents\Promo ID_files\image002.jpg'ALIGN=
> > 'center'></a
>> <!--width='100' height='100'--> <BODY
>> <P> <STRONG>Dura Supreme, Inc.</STRONG><BR> <EM>300 Dura Drive</EM><BR
>> <EM>Howard Lake, MN 55349</EM><BR
>> <BR> <EM>1-888-711-3872</EM><BR
>> <BR> Statement Date: 08/25/2009 <BR
>> <BR> SalesName <BR> PersonAddr<BR> PersonTown, State, Zip<BR> Sales
> > Person Promotion ID: <strong>IDNumber</strong> <BR
>> <BR> <HR NOSHADE color = 'Black'> <BR
>> <table border = '1', rules = 'rows', cellpadding = '2' frame = 'below'
>> <CAPTION>Preliminary List of Qualifying Orders</CAPTION
>> <TR ALIGN = 'left'> <TD> Order #</TD> <TD>PO #</TD><TD>Mark
> > Carton</TD><TD class= 'style2'>Est. Cabinets</TD><TD class = 'style1'
>> Estimated Amount</TD></TR
>> <TR ALIGN = 'left'> <TD>718746</TD> <TD>SM 10336</TD><TD> ZIERDEN
> > KILGORE</TD> <TD class='style2'>14.00</TD><TD
> > class='style1'>140.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718748</TD> <TD>SM10338</TD><TD> ZIERDEN
> > KILGOREB</TD> <TD class='style2'>5.00</TD><TD
> > class='style1'>50.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718749</TD> <TD>SM10341</TD><TD> ZIERDEN
> > KILGORE</TD> <TD class='style2'>1.00</TD><TD
> > class='style1'>10.00</TD></TR
>> <TR ALIGN = 'left'> <TD>718795</TD> <TD>SM 10337</TD><TD> ZIERDEN
> > KILGOREM</TD> <TD class='style2'>2.00</TD><TD
> > class='style1'>20.00</TD></TR
>> <TR ALIGN = 'left'> <TD>719037</TD> <TD>SM10359</TD><TD> STROMQUIST</TD
>> <TD class='style2'>4.00</TD><TD class='style1'>40.00</TD></TR
>> <tr><td colspan = '5' align = 'right' >Total: $260.00 </td></tr
>> </TABLE
>> <BR> If you have questions about this statement please contact Customer
> > Service.<BR> PHONE: (888) 711-3872</BODY
>> </HTML>

>
 
Well obviously if your emails are being converted into plain text they won't

preserve any HTML formatting.

Can you send any HTML over the Internet at all? If not then maybe it's a

setting on the server.

I don't know of any Outlook setting offhand that converts all HTML to plain

text on a global basis, but since you still haven't told us what version of

Outlook you use I couldn't even check that at all.

"jpm" <uh@Idetestspam@mars> wrote in message

news:%23b3RxIaJKHA.4168@TK2MSFTNGP05.phx.gbl...
> Ken,

> In this instance, I'm creating the message using Access 2007/VBA with
> references to the Outlook library and to Dimitry's Redemption library,
> which I'm using to bypass the security prompts. Using the Outlook mail
> item object I create the message object and assign message content and
> then save, assign to the Redemption mail object and invoke the Send
> method/function.

> Below is the same message received in a Hotmail account. Included is the
> header information. I don't know much about this but I do notice that the
> content-type is text/plain. It seems it ought to be text/html. Not sure
> how to change these settings. -- JimM

> X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtTQ0w9MA==
> X-Message-Status: n:0
> X-SID-PRA: Jimm<myaddr@durasupreme.com
> X-Message-Info:
> JGTYoYF78jFShgg23ljGMOwCigthg/rOwtanBQaf7XxSi8SaWFGK85cvbvWz5u2fdZ08NPTbdyqGuj5T2zok8TEJaueUtncx
> Received: from willow.durasupreme.com ([64.198.39.204]) by
> col0-mc2-f17.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
> Mon, 24 Aug 2009 14:49:02 -0700
> Received: From maple.durasupreme.com ([192.168.1.9]) by
> willow.durasupreme.com (WebShield SMTP v4.5 MR3)
> id 1251150541182; Mon, 24 Aug 2009 16:49:01 -0500
> X-MimeOLE: Produced By Microsoft Exchange V6.5
> Content-class: urn:content-classes:message
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> Subject: Dura Supreme -- Spiff Statement
> Date: Mon, 24 Aug 2009 16:48:47 -0500
> Message-ID:
> <BAE339B2E60DE44F87EAE9350A5E21FC025849CC@maple.durasupreme.com
> X-MS-Has-Attach:
> X-MS-TNEF-Correlator:
> Thread-Topic: Dura Supreme -- Spiff Statement
> Thread-Index: AcolBLDYhzoc6+flQeugdkaUkzmO9g==
> From: "Jimm" <myaddr@durasupreme.com
> To: "Jimm" <myaddr@hotmail.com
> Return-Path: myAddr@durasupreme.com
> X-OriginalArrivalTime: 24 Aug 2009 21:49:02.0996 (UTC)
> FILETIME=[B2009540:01CA2504]

> <http://www.durasupreme.com>

> Dura Supreme, Inc.
> 300 Dura Drive
> Howard Lake, MN 55349

> 1-888-711-3872

> Statement Date: 08/24/2009

> PersonName
> Street
> City, State, Zip
> Sales Person Promotion ID: IDnum

> ________________________________

> Preliminary List of Qualifying Orders
> Order # PO # Mark Carton Est. Cabinets Estimated Amount=09
> 718746 SM 10336 ZIERDEN KILGORE 14.00 140.00=09
> 718748 SM10338 ZIERDEN KILGOREB 5.00 50.00=09
> 718749 SM10341 ZIERDEN KILGORE 1.00 10.00=09
> 718795 SM 10337 ZIERDEN KILGOREM 2.00 20.00=09
> 719037 SM10359 STROMQUIST 4.00 40.00=09
> Total: $260.00 =09

> If you have questions about this statement please contact Customer
> Service.
> PHONE: (888) 711-3872

> *************************end of misformatted
> message******************************************************
 
Outlook version: 2007.

I've resolved the problem. Needed to provide settings for Redemption mail

object after I assign the mail object to it. Apparently setting the mail

object's .HTMLBody before passing it to Redemption wasn't sufficient.

See: http://www.dimastr.com/redemption/faq.htm#11

Ken, thanks for all your help.
<kenslovak@mvps.org> wrote in message

news:uH1$n7aJKHA.4900@TK2MSFTNGP04.phx.gbl...
> Well obviously if your emails are being converted into plain text they
> won't preserve any HTML formatting.

> Can you send any HTML over the Internet at all? If not then maybe it's a
> setting on the server.

> I don't know of any Outlook setting offhand that converts all HTML to
> plain text on a global basis, but since you still haven't told us what
> version of Outlook you use I couldn't even check that at all.

> >

>

> "jpm" <uh@Idetestspam@mars> wrote in message
> news:%23b3RxIaJKHA.4168@TK2MSFTNGP05.phx.gbl...
> > Ken,
>

>> In this instance, I'm creating the message using Access 2007/VBA with
> > references to the Outlook library and to Dimitry's Redemption library,
> > which I'm using to bypass the security prompts. Using the Outlook mail
> > item object I create the message object and assign message content and
> > then save, assign to the Redemption mail object and invoke the Send
> > method/function.
>

>> Below is the same message received in a Hotmail account. Included is the
> > header information. I don't know much about this but I do notice that the
> > content-type is text/plain. It seems it ought to be text/html. Not sure
> > how to change these settings. -- JimM
>

>> X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0xO0Q9MTtTQ0w9MA==
> > X-Message-Status: n:0
> > X-SID-PRA: Jimm<myaddr@durasupreme.com
>> X-Message-Info:
> > JGTYoYF78jFShgg23ljGMOwCigthg/rOwtanBQaf7XxSi8SaWFGK85cvbvWz5u2fdZ08NPTbdyqGuj5T2zok8TEJaueUtncx
> > Received: from willow.durasupreme.com ([64.198.39.204]) by
> > col0-mc2-f17.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
> > Mon, 24 Aug 2009 14:49:02 -0700
> > Received: From maple.durasupreme.com ([192.168.1.9]) by
> > willow.durasupreme.com (WebShield SMTP v4.5 MR3)
> > id 1251150541182; Mon, 24 Aug 2009 16:49:01 -0500
> > X-MimeOLE: Produced By Microsoft Exchange V6.5
> > Content-class: urn:content-classes:message
> > MIME-Version: 1.0
> > Content-Type: text/plain;
> > charset="us-ascii"
> > Content-Transfer-Encoding: quoted-printable
> > Subject: Dura Supreme -- Spiff Statement
> > Date: Mon, 24 Aug 2009 16:48:47 -0500
> > Message-ID:
> > <BAE339B2E60DE44F87EAE9350A5E21FC025849CC@maple.durasupreme.com
>> X-MS-Has-Attach:
> > X-MS-TNEF-Correlator:
> > Thread-Topic: Dura Supreme -- Spiff Statement
> > Thread-Index: AcolBLDYhzoc6+flQeugdkaUkzmO9g==
> > From: "Jimm" <myaddr@durasupreme.com
>> To: "Jimm" <myaddr@hotmail.com
>> Return-Path: myAddr@durasupreme.com
> > X-OriginalArrivalTime: 24 Aug 2009 21:49:02.0996 (UTC)
> > FILETIME=[B2009540:01CA2504]
>

>> <http://www.durasupreme.com>
>

>> Dura Supreme, Inc.
> > 300 Dura Drive
> > Howard Lake, MN 55349
>

>> 1-888-711-3872
>

>> Statement Date: 08/24/2009
>

>> PersonName
> > Street
> > City, State, Zip
> > Sales Person Promotion ID: IDnum
>

>
>> ________________________________
>

>
>
>> Preliminary List of Qualifying Orders
> > Order # PO # Mark Carton Est. Cabinets Estimated Amount=09
> > 718746 SM 10336 ZIERDEN KILGORE 14.00 140.00=09
> > 718748 SM10338 ZIERDEN KILGOREB 5.00 50.00=09
> > 718749 SM10341 ZIERDEN KILGORE 1.00 10.00=09
> > 718795 SM 10337 ZIERDEN KILGOREM 2.00 20.00=09
> > 719037 SM10359 STROMQUIST 4.00 40.00=09
> > Total: $260.00 =09
>

>> If you have questions about this statement please contact Customer
> > Service.
> > PHONE: (888) 711-3872
>

>> *************************end of misformatted
> > message******************************************************

>
 
Ah, OK. I didn't know you were doing it with Redemption. That explains the

problem.

"jpm" <uh@Idetestspam@mars> wrote in message

news:%23ClIsBcJKHA.1252@TK2MSFTNGP04.phx.gbl...
> Outlook version: 2007.
> I've resolved the problem. Needed to provide settings for Redemption mail
> object after I assign the mail object to it. Apparently setting the mail
> object's .HTMLBody before passing it to Redemption wasn't sufficient.
> See: http://www.dimastr.com/redemption/faq.htm#11

> Ken, thanks for all your help.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
D Outlook 2016 64bit, Cannot Save in 'HTML', format Using Outlook 1
M Mail in HTML format can't be sent if url or number is in the body Outlook 2010 Using Outlook 2
P Outlook send invitation in rtf-format instead of html-format Using Outlook 20
D Mail Format Changes from HTML to RTF Upon Forward - How to change Outlook VBA and Custom Forms 7
R Outlook-Changing default reply format to HTML Outlook VBA and Custom Forms 5
Y Setting Text Box to HTML or Rich Text Format Outlook VBA and Custom Forms 3
J Outlook 365 html inline images Using Outlook 0
Albert McCann Outlook 2021 Outlook Display of HTML Email from two senders is glitchy Using Outlook 0
J Outlook 2016 Can't display some embedded HTML images in Outlook 2016 Using Outlook 2
S HTML Code Embedded in String Within Open Outlook Email Preventing Replace(Application.ActiveInspector.CurrentItem.HTMLBody From Working Outlook VBA and Custom Forms 4
K Outlook adds space to rows in HTML email signatures viewed on mobile Using Outlook 1
S HTML to Plain Text Macro - Help Outlook VBA and Custom Forms 1
M HTML email signature in Outlook Using Outlook 3
B Outlook 2016 Unable to view images or logos on the outlook 2016 emails the same html code works well when i use outlook 2010 Using Outlook 0
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
B Programmatically force html send and insert clipboard contents into body Outlook VBA and Custom Forms 0
S Change VBA script to send HTML email instead of text Outlook VBA and Custom Forms 3
U HTML Task Alternate Home Page View Control Using Outlook 3
D Custom form with html hyperlink Outlook VBA and Custom Forms 7
D Keep Original html body when forwarding an email Outlook VBA and Custom Forms 7
S Emails Configured As HTML But Sent As Plain Text Using Outlook 13
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
George Simpson "Switch to HTML" in Outlook 2016 notes field Using Outlook 1
H Search and delete part of a link inside HTML body message Outlook VBA and Custom Forms 2
S Outlook 2013 doesn't download html messages Using Outlook 0
A How can I load a HTML template into the WordEditor? Outlook VBA and Custom Forms 3
cabinet guy permanent response in html Using Outlook 1
C Signatures in HTML emails Using Outlook 5
I Outlook 2013 Appointments not in HTML Using Outlook.com accounts in Outlook 2
B Replies never HTML Using Outlook 2
L Outlook 2002: HTML Emails Will Not Print: Please Help Using Outlook 0
Diane Poremsky Outlook crashes when viewing HTML Messages Using Outlook 0
Diane Poremsky Create a New Message using an HTML File or Stationery Using Outlook 0
V incorrect html signature printed Using Outlook 2
Z alter the timeout for how long outlook looks for a content-server on an HTML-email? Using Outlook 5
Diane Poremsky Create a New Message using an HTML File or Stationery Using Outlook 0
Y HTML Emails Using Outlook 1
A Lync meeting in outlook lose HTML formatting Using Outlook 3
C Outllok 2010 (14.0.7015.1000 (32bit) converts html mail to rich text when move Using Outlook 1
T HTML email for internal mesages and Text only for External? Using Outlook 1
C In need of VBA code to read / parse HTML - Outlook emails Using Outlook 0
M Unable to read HTML Using Outlook 2
V Name of attachment in replies (HTML) - possible?? Using Outlook 12
A BCM 2010 converts html e-mails to plain text BCM (Business Contact Manager) 1
D Saving outlook emails in html and attachments Using Outlook 4
T Forcing HTML for replies in Outlook 2013 Using Outlook 4
M HTML mails apprearing broken in outlook 2013 Using Outlook 5
T Html tags in Message body Using Outlook 1
R OL2010; How to ALWAYS Reply/Forward using HTML? Using Outlook 1
J Outlook is not parsing html email, unreadable and attachment not decoded Using Outlook 1

Similar threads

Back
Top