You are viewing limited content. For full access, please sign in.

Question

Question

How can I have email attachments be downloaded into Laserfiche with an automated process?

asked on March 24, 2014

I am attempting to have email attachments downloaded and stored into Laserfiche without doing this step manually each time. I believe this can be done CMA Email Manager. Can this only be done with third-party software?

0 0

Answers

APPROVED ANSWER
replied on March 24, 2014

Hi Patrick,

 

In addition to Mark's suggestion, you might be interested in the email archiving integrations available on the Laserfiche Integration Marketplace. There are a number of them there that can automatically bring emails into Laserfiche, including email attachments, such as the MagniMail integration.

 

Additionally, if one of these posts provides you with the answer you need, please mark it as the user approved answer. Thanks!

0 0
SELECTED ANSWER
replied on March 24, 2014

After thinking about this further, you could write a VB script that saves the attachment using the send to Laserfiche feature in outlook. 

1 1
replied on April 17, 2014

Very helpful. Thank you!

0 0

Replies

replied on March 24, 2014

I did this by writing a VB script and executing it with the outlook rules that saves it to a directory location then used import agent and workflow to bring it in and route to the appropriate area.

0 0
replied on September 29, 2015

Mark,

could you share your VB script?

0 0
replied on January 16, 2017

Would you be willing to share your VB script? I am trying to do something similar without using a third party integration software. 

0 0
replied on July 11, 2018

I believe that it would be something similar to this:

 

Option Explicit
Private WithEvents Items As Outlook.Items

Private Sub Application_Startup()
  Dim Ns As Outlook.NameSpace
  Set Ns = Application.GetNamespace("MAPI")
  Set Items = Ns.GetDefaultFolder(olFolderInbox).Items
End Sub

Private Sub Items_ItemAdd(ByVal Item As Object)
  If TypeOf Item Is Outlook.MailItem Then
  
  Dim sPath As String
  Dim dtDate As Date
  Dim sName As String
  Dim enviro As String
 
  enviro = CStr(Environ("USERPROFILE"))
   
  sName = Item.Subject
  ReplaceCharsForFileName sName, "_"
 
  dtDate = Item.ReceivedTime
  sName = Format(dtDate, "yyyymmdd", vbUseSystemDayOfWeek, _
    vbUseSystem) & Format(dtDate, "-hhnnss", _
    vbUseSystemDayOfWeek, vbUseSystem) & "-" & sName & ".msg"
     
' use My Documents for older Windows.
    sPath = enviro & "\Documents\"
  Debug.Print sPath & sName
  Item.SaveAs sPath & sName, olMSG
  
  End If
  
End Sub

Private Sub ReplaceCharsForFileName(sName As String, _
  sChr As String _
)
  sName = Replace(sName, "/", sChr)
  sName = Replace(sName, "\", sChr)
  sName = Replace(sName, ":", sChr)
  sName = Replace(sName, "?", sChr)
  sName = Replace(sName, Chr(34), sChr)
  sName = Replace(sName, "<", sChr)
  sName = Replace(sName, ">", sChr)
  sName = Replace(sName, "|", sChr)
End Sub

 

https://www.slipstick.com/outlook/archive-outlook/save-incoming-messages-hard-drive/

0 0
replied on September 30, 2015

adding my two cents, VB script and instead of using Laserfiche integration features in outlook, the use LF Import Agent to bring the attachments in to Laserfiche can give an extra level of control and options.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.