Attachment displayed in body

  • Thread starter Thread starter E.Zenker
  • Start date Start date
E

E.Zenker

Hi
I use the code:


Dim Nachricht

Set Nachricht = Application.CreateItem(olMailItem)

Nachricht.Subject = "XXXXXXXX"

Nachricht.To = Item.Email1Address



Nachricht.Attachments.Add "C:\Dokumente und Einstellungen\xxx.pdf"



to create a OL message with attachment



Strange things happens



using the same code at one PC

The attachment is displayed in a line below subject

on an other PC with the same OS and OL version

The attachment is displayed in the body of the message



Please help

E.Zenker
 
E.Zenker said:
Hi
I use the code:


Dim Nachricht

Set Nachricht = Application.CreateItem(olMailItem)

Nachricht.Subject = "XXXXXXXX"

Nachricht.To = Item.Email1Address



Nachricht.Attachments.Add "C:\Dokumente und Einstellungen\xxx.pdf"



to create a OL message with attachment



Strange things happens



using the same code at one PC

The attachment is displayed in a line below subject

on an other PC with the same OS and OL version

The attachment is displayed in the body of the message



Please help

E.Zenker

Hi E.Zenker,

maybe you dont use the same Mail Format?
This could happen, if you are using HTML on one mashine and Plain Text on
the other.
Please check the Option
TOOLS > OPTIONS > MAIL FORMAT
 
Back
Top