How does outlook know what format to display an email?

  • Thread starter Richard Lewis Haggard
  • Start date
R

Richard Lewis Haggard

I'm a developer in a company that makes software that encrypts email messages and am working on a bug that says that if an email was created in Outlook in Rich Text format and has elements in it like a table then the Rich Text formating is lost upon receipt of the email. It looks like Outlook is looking at the encrypted email and deciding that it must be text and all formatting is lost. The actual data itself is still present in the received email and is displayed in simple Text format but the Rich Text formatting is lost.

So, the real question is 'How does Outlook know what sort of formatting is to be applied to an incoming email?' Outlook is normally pretty good about discriminating between text, rich text and HTML, but what is the mechanism by which such logic is performed? What fields in the email let Outlook determine what sort of formatting is to be used to display the email?

Thanks
 
B

Brian Tillman [MVP-Outlook]

I'm a developer in a company that makes software that encrypts email
messages and am working on a bug that says that if an email was created in
Outlook in Rich Text format and has elements in it like a table then the
Rich Text formating is lost upon receipt of the email. It looks like Outlook
is looking at the encrypted email and deciding that it must be text and all
formatting is lost. The actual data itself is still present in the received
email and is displayed in simple Text format but the Rich Text formatting is
lost.

Your formatting is lost as well. Each paragraph is one big long line with no
line wraps. Contact the admins at outlookforums.com and tell them thet have a
problem. In the meantime, be sure to press Enter at the end of each line.
So, the real question is 'How does Outlook know what sort of formatting is
to be applied to an incoming email?' Outlook is normally pretty good about
discriminating between text, rich text and HTML, but what is the mechanism
by which such logic is performed? What fields in the email let Outlook
determine what sort of formatting is to be used to display the email?

It uses the MIME headers, just like other mail clients.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top