H
Heinz-Josef Bomanns
Hi,
i have to send an 'invisible' attachment with a mail in plain text (or
other) format. Currently i'm using
'Add hidden attachment
objAtt = .Attachments.Add(strFileName, olByValue, 0, "Hidden")
I've also tried Redemption.MAPIUtils like this:
'Set PR_ATTACHMENT_HIDDEN = True
..HrSetOneProp objAtt.MAPIOBJECT, &H7FFE000B, True
In my outbox the attachment is hidden and PR_ATTACHMENT_HIDDEN is
true, after the mail is sent and received on other machines the
attachment is sometimes visible and PR_ATTACHMENT_HIDDEN is missing,
sometimes it's invisible with PR_ATTACHMENT_HIDDEN = True present.
It's not depending on a specific Outlook version - in my VMs or VPCs
with Outlook 2002, 2003, 2007 the attachments are always invisible, on
the machine of friend "A" with 2002 and friend "B" with 2007 the
attachment is visible, on the machine of friend "C" with 2003 and 2007
the attachment is invisible. Wired... Anybody any idea, why the
attachment stays invisible on some installations and gets visible on
others? Thanks for any hint...
i have to send an 'invisible' attachment with a mail in plain text (or
other) format. Currently i'm using
'Add hidden attachment
objAtt = .Attachments.Add(strFileName, olByValue, 0, "Hidden")
I've also tried Redemption.MAPIUtils like this:
'Set PR_ATTACHMENT_HIDDEN = True
..HrSetOneProp objAtt.MAPIOBJECT, &H7FFE000B, True
In my outbox the attachment is hidden and PR_ATTACHMENT_HIDDEN is
true, after the mail is sent and received on other machines the
attachment is sometimes visible and PR_ATTACHMENT_HIDDEN is missing,
sometimes it's invisible with PR_ATTACHMENT_HIDDEN = True present.
It's not depending on a specific Outlook version - in my VMs or VPCs
with Outlook 2002, 2003, 2007 the attachments are always invisible, on
the machine of friend "A" with 2002 and friend "B" with 2007 the
attachment is visible, on the machine of friend "C" with 2003 and 2007
the attachment is invisible. Wired... Anybody any idea, why the
attachment stays invisible on some installations and gets visible on
others? Thanks for any hint...