TNEF stripped

A

a6avant

Hi,

is there a way to find out how and where my custom form information is
stripped when travelling along the Internet from an Exchange 2003
organization to another ?

I have this working between our prod & lab exchange 2003 environments
but not between 2 production environments. Is there a setting in
Exchange 2003 ?

An alternative for me would be that i send the filled in fields as text
to the recipient, but when I test this in our lab with the following
code I still receive the RTF form instead of the text...

Sub CommandButton2_Click()
Set objNewItem = Item.Forward
objNewItem.BodyFormat = 1
objNewItem.To = "Tracy Chapman"
objNewItem.Recipients.ResolveAll

InfoPage = "------------------------- INFO -----------------------" &
vbCrLf
InfoPage = InfoPage & iAffUserSingle

objNewItem.body = InfoPage
objNewItem.Send
End Sub

Any ideas ?
 
S

Sue Mosher [MVP-Outlook]

Instead of creating objNewItem with Item.Forward, you'd need to use Application.CreateItem to create a completely new item untainted by a custom form. Fixing it that way will probably be a lot faster and likely to succeed than trying to get the servers to all preserve RTF; but if you want to fiddle with the servers, I think I have some notes at http://www.outlookcode.com/d/sendform.htm that may help.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
H

Hollis Paul [MVP - Outlook]

is there a way to find out how and where my custom form information is
stripped when travelling along the Internet from an Exchange 2003
organization to another ?
The way that you ensure that the TNEF wrapper is used is to set the
format of the mail item to rtf. Usually this is done in the contact
item. Open the contact item of your recipient, select the email address
you will be using, right-click it, and choose properties. In pre-2003
versions of Outlook, there is a check-box on the bottom of the
properties panel that is labeled "always send to this recipient using
rtf", or some such. Make sure that check box is checked. In OL2003,
this has been moved to a formatting drop-down list. Select the one that
is about rtf. Then save and close the item.
 

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