VBA: Extracting mail attachements from archived mails
Like many others, i had a problem extracting attachement from archived mail items. The name of the attachement is "@" instead of the actual file name. It was suggested in a particular mail to use the API, but you need EVAdmin to do so. (CreateObject("EnterpriseVault.ContentManagementAPI") failed) Another suggestion was to read the HTMLbody of the mail and search for the filename. After a little research, i found that, if you "Display" the mailitem, it will be accessible as any other mailitem, including the attachements. Here's the code: Private Function GetSelectedMailAttach() As String Dim olApp As Outlook.Application Dim olExp As Outlook.Explorer Dim olSel As Outlook.Selection Dim olItem As Outlook.MailItem Dim olAtt As Outlook.Attachment Dim olInsp As Outlook.Inspector Dim olSelItem As Outlook.MailItem Dim olOpnItem As Outlook.MailItem Dim i As Long Dim strRet As String On Error GoTo ErrorHandler Set olApp = GetObject("", "Outlook.Application") Set olExp = olApp.ActiveExplorer Set olSel = olExp.Selection If olSel.Count = 0 Then MsgBox "No mailitems selected!", vbExclamation GoTo Finalize End If For i = 1 To olSel.Count Set olInsp = Nothing Set olSelItem = olSel.item(i) olSelItem.Display Do While olInsp Is Nothing Set olInsp = olApp.ActiveInspector Loop Set olOpnItem = olInsp.CurrentItem For Each olAtt In olOpnItem.Attachments If olAtt.Type <> olOLE Then olAtt.SaveAsFile Environ("TEMP") & "\" & olAtt.DisplayName If strRet = "" Then strRet = Environ("TEMP") & "\" & olAtt.FileName Else strRet = strRet & vbCrLf & Environ("TEMP") & "\" & olAtt.FileName End If End If Next olOpnItem.Close olDiscard Next If strRet = "" Then MsgBox "No attachements found in selected mails!", vbExclamation End If GetSelectedMailAttach = strRet GoTo Finalize ErrorHandler: MsgBox Err.Description, vbCritical Finalize: Set olAtt = Nothing Set olItem = Nothing Set olSel = Nothing Set olExp = Nothing Set olApp = Nothing Set olInsp = Nothing Set olSelItem = Nothing Set olOpnItem = Nothing End FunctionSolved3.7KViews4likes5CommentsOutlook 2010 - "The custom form cannot be opened"
Hello, We've got several users who claim that, when opening an EV item, it appears the message: "The custom form cannot be opened. Outlook will use an Outlook form instead. The form required to view this message cannot be displayed. Contact your administrator." Tried the following: - Cleared the cached forms, - Renamed FRMCACHE.DAT to FRMCACHE.old, - Recreated Outlook profile, No sucess. User's don't and can't have acess to administrative permission in any files on Registry. The only thing i came up with was to re-create the whole user windows profle, which it worked. The computers are Windows XP with SP3 installed and EV v10.0.17573. Does anyone have other tips or solutions for this problem, besides having to re-create the whole profile ? Thanks in advance !Solved3.4KViews2likes1CommentEV 11 Support: Windows XP SP 2/3 + Outlook 2003 SP2/3 + EV 10 Outlook Add-ins
Hello, I am doing an upgrade at a customer site from EV 10 to EV 11. My customer has some legacy endpoints with Windows XP SP 2/3 + Outlook 2003 SP2/3. As per the the compatibility charts, EV 11 Outlook Add-ins are not supported on Windows XP SP 2/3 + Outlook 2003 SP2/3. Will Windows XP SP 2/3 + Outlook 2003 SP2/3 AND EV 10 Outlook Add-ins be able to access EV 11? Cheers Cameron MottusSolved637Views2likes2CommentsMicrosoft Office Outlook Can't open this item
Outlook 2003, EV 8.0.4 We have one user who can't open items from the EV shortcuts in her mailbox. Outlook comes up with a dialogue box: "Microsoft Office Outlook "Can't open this item." She can open the items in Archive Explorer. She has tried on a couple of PCs: same thing happens. We have tried a new Outlook profile, new Windows profile, resetEVclient: same thing happens. I've had a look at sample item properties: looks OK to me. Compared client log with a known good one: nothing leaps out at me. I had a look at the permissions on the vault (even though she can open the items in Archive Explorer). There was an ACE for her old user object in the domain we migrated from. Got rid of that from the mailbox, got her to try again after a few days: same thing happens. Running out of things to try. Any ideas? If more information would be helpful, please let us know. Thanks for reading this. - John1.9KViews1like10Commentsarchived attachment in forwarded mail
Hi, Someone in our office complained that she received an login screen from the enterprise vault, when she tried to open an email attachment. On investigation it turned out that this person doesn't have an archive, but the email was forwarded form another collegea, and the attachment showed an archive icon. How can the receiver ever open this attachment ?885Views1like5CommentsVALKYRIE.DLL crashes outlook 2007 tried several fixes
outlook.exe continues to crash. machine was missing search 4.0 which I added and was on office sp2 which I upgraded to sp3. ran ResetEVClient.exe several times manually unregistered/reregistered dlls ran fixmapi.dll before and after reboot tried reinstalling the plugin msvcr90.dll outlook.exe valkyrie.dll crash any ideas without reimaging, renaming windows profile or outlook profile?Solved1.7KViews1like26CommentsEnterprise Vault 10 Client and Internet Explorer 6
Hello All Yesterday we had an issue in one of our offices where users were not able to access vaulted items and that Outlook was freezing when trying to access archived items. We tried general troubleshooting like resetEVclient.exe, restarting Windows search service, disabling vault cache etc. but nothing seem to worked it seems. We were then notified that recently enterprise vault 10 client was pushed out to that office and we noticed that those users were using Internet explorer 6 due to business application requirement which was causing the issue. Once we un-installed EV10 client and re-installed Enterprise vault 9.0.1 HTTP client, everything returned to normal. EV9.0.3 client also exhibited same behaviour as EV10, so i am guessing EV9.0.1 is last working version with legacy internet explorer. Just sharing to make sure if you're planning to roll out EV10 client in your environment, please make note of above issue that you might face with legacy internet explorer. Thanks !302Views1like1Comment