Forcing plain text output

  • Thread starter Thread starter Guest
  • Start date Start date
Is there any way to force an outlook form's output to send as plain text?
Look on the Outlook properties of the email address in contact item of your
recipient. There will be an email Internet format control that allows you
to choose one of several options, one of which is plain text.
 
Of course, setting that option will send *all* messages to that recipient in plain text format.

Generating a plain text message from a form without changing the recipient setting would involve putting code behind the form to create a completely new message with Application.CreateItem, set its BodyFormat so that it's plain text, and then write the Body property, based on the data in the form item.
 
Yeah, I saw that option. The problem is the form will be used by many
different users and sent to a choice of many different addresses... Didn’t
want to force each user to add each of the potential recipients as contacts
and change their output to plain text.
 
Didn’t
want to force each user to add each of the potential recipients as contacts
and change their output to plain text.
Seems to me that the amount of user training involved would be preferable to
the solution that Sue has outlined.

It used to be that if you touched the Body property in code it reverted to
plain text. That was probably a bug that has since been fixed. And you would
not want to rely on the presence of a bug for the success of your form.

Another avenue to investigate is the format option on the new message itself.
If you open a new message and click options, you will see a format control
that is initially set to autoselect. This is one of those settings that is
always included in that format control in the outlook properties of the email
address of the recipient in the contact item. I betcha you can use code to
set the value of that control to the value that would be picked up from the
contact item. I never tried to do that, but there really has to be someplace
in the message that receives that value from the contact item.
 
Unfortunately the training would be a bit much, the immediate group it's
going to pushes a dozen facilities in 4 countries.

The "format option" was actually where I was hoping to go with this, if
nothing else you've convinced me that's a route worth investigating.
 
Back
Top