OK, klappt wunderbar mit rtlib.
Und wenn der Text länger ist, wird sogar noch schöner formatiert, als wie es beim manuell erstellten Original-Anhang der Fall ist.
Das hier setzt einen anderen Namen:
rtlib_att.Filename = strAttTitle
Das hier setzt eine Bildressource als Attachment-Symbol:
rtlib_img.ResourceName = strResourceName
rtlib_img.caption = strAttTitle
Set rtlib_img.Style = New rtStyle(0)
With rtlib_img.Style
Set .Font = New rtFontStyle(0)
.Font.TypeFace = FONT_FACE
.Font.FontSize = FONT_SIZE
End With
Set rtlib_img.CaptionColor= New rtColor(0)
rtlib_img.CaptionColor.setRGB 0,0,0