TNEF encoding

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Chris Hearson (chris.hearson_at_teleware.co.uk)
Date: 11/12/04


Date: Fri, 12 Nov 2004 12:47:32 -0000

Hi All,

I'm currently porting a VC++ app that generates SMTP messages to C#. Part
of the generate message header is a TNEF stream that enables a custom form
to be used when that email is received by an Exchange server.

I'm using the System.Web.Mail classes to generate my C# SMTP message. Can
someone point me in the right direction for adding a TNEF stream to a
message of this type.

>From what I've found so far, it looks like I need to generate a winmail.dat
attachment which is base64 encoded, but what goes into the attachment?

TIA
Chris