Move attachments behind the mailbody

  • Thread starter Thread starter Markus Fried
  • Start date Start date
M

Markus Fried

Hi,

if i attach a attachment with Item.Attachments.Add the attachment is
inserted above the mailbody that is inserted with Item.Body.
Is there a possibility to insert the attachments behind the mailbody?

Thanks,

Markus
 
I'm not sure what you mean by "behind." The location of the attachment
depends on the message format. HTML and plain text messages use a separate
pane. Rich-text messages put the attachment inline.
 
Hi Sue
I'm not sure what you mean by "behind." The location of the attachment
depends on the message format. HTML and plain text messages use a separate
pane. Rich-text messages put the attachment inline.

Outlook shows me the attachment icons first and then the text of the message
body. On the Outlook Message-windows I can move manually the Icons with the
mouse cursor. But is this also possible to move this icons automatically to
the end of the text.
How can I change the message Format to HTML or Plain Text?
 
If the message is in RTF format, you can use the Location argument in the
Attachments.Add method to set the location within the text.

The details of creating a plain text or HTML message vary with the Outlook
version, which you didn't mention.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Hi Sue,
The details of creating a plain text or HTML message vary with the Outlook
version, which you didn't mention.

it should work with Outlook 2000 and Outlook 2002. Can you give mit the
details for this Outlook versions.


Thanks a lot,

Markus
 
In Outlook 2000, there's no direct way to create a plain text message. You
can, however, force the message format to HTML by setting a value for the
HTMLBody property.

In Outlook 2002/3, you can set the BodyFormat property for a new message.
Setting the HTMLBody property to force HTML should also work.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top