PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Form Programming TNEF stripped

Reply

TNEF stripped

 
Thread Tools Rate Thread
Old 20-06-2006, 01:55 PM   #1
a6avant@hotmail.com
Guest
 
Posts: n/a
Default TNEF stripped


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 ?

  Reply With Quote
Old 20-06-2006, 02:08 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: TNEF stripped

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

<a6avant@hotmail.com> wrote in message news:1150808123.262649.24980@p79g2000cwp.googlegroups.com...
> 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 ?
>

  Reply With Quote
Old 20-06-2006, 04:55 PM   #3
Hollis Paul [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: TNEF stripped

In article <1150808123.262649.24980@p79g2000cwp.googlegroups.com>,
wrote:
> 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.

--
Hollis Paul
Mukilteo, WA USA


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off