View Single Post
  #3  
Old March 7th 07, 09:29 AM posted to microsoft.public.outlook.program_vba
Markus Jakobi
external usenet poster
 
Posts: 2
Default Change format of a mail back to text-only

Hi Michael,
thanks for your reply.

Markus, you need to change some MAPI properties, which aren't availabe via
the Outlook object model. Here's a sample for how to do it with

Redemption:

I know that it's possible to get around it using Redemption, but I'm not
using it (yet).
I was just looking for an explanation why the code stops when Outlook shows
the warning and if there is a way to change this behaviour.

I even tried another solution using (ugly) SendKeys-command. I replaced the
whole code with
SendKeys ""%txj", True
which executes the 'Format' - 'Plain Text' - 'Yes' (in the german version
of Outlook). This works fine and the code doesn't stop when Outlook shows
the warning, as long as the user doesn't use STRG+ENTER to send the
mail.


Regards -- Markus


Ads