-
Topic
-
Hi,
We have an applet that fires on send. It makes a log of every attachment and attachment whithin any attached email. The issue is if someone sends and email via a proxy the attachment email is not properly found because the attachment email is actualy located in the proxy account (The current user is forwarding an email that was received in the proxy account).
How to i get this email message properly. I currently use the GetMessage fonction on the account. Also funny thing is i can only see proxyhistory adresse property on the Application object. Other useful properties like Proxied always is false.
Any help is appreciated. Here is some code bellow…
intParentAttachmentCount = GroupWise.ItemAttachmentGetCount("X00")
for intCounter = 0 to intParentAttachmentCount - 1
' extract from email attachement as other classes don't have attachments
if GroupWise.ItemAttachmentGetClass("X00", intCounter) = 2 then
' this function takes the email and extracts all attachment (is Recursive)
ExtractAttachments groupwise.Account.GetMessage(groupwise.ItemAttachmentGetName("X00", intCounter))
else
'normal attachment code
end if
next
- You must be logged in to reply to this topic.