Setup SMTP Mail with Abbyy Flexicapture Event handler - Manoj Jha

Manoj Jha

Robotic Process Automation, Abbyy Flexicapture, Python, JavaScript, C#. Machine learning and Data Science

Setup SMTP Mail with Abbyy Flexicapture Event handler

Share This
So after a long break writing back again on Abbyy. What today we are going to see is related to ABBYY scripting for mail on when the document processing stage changes.
Recently I was working on a project where a client asks me to add some notification settings in the process of document data extraction when it changes its state from verification to export successfully. 


Open your Abbyy project setup station > click on the project that you want to open. After opening the project click on project > project property. In the project property, you will see tabs like "General", "Image Processing", "Recognition", "Verification", "Event handler", ".Net Reference" etc.
So in this just click on Event Handler.
Event Handler lets you create handlers for events that affect batches, fields, and documents. Event handlers are stored in Batch types and Document Definitions.
Following are the types of event handlers which you'll find after clicking on the Event handler tab:



As we are going to discuss Event on document state change so we'll select the After document state change option from the list of Handlers. Click on After document state changed then Click on Edit Script from the right sidebar. 
Edit Script window will look something like the below image. 


Now in this window, we can write our SMTP code which will send the message to the receiver when the event changes. 


Now save this code and exit from Script Editor. 

Your code is ready to be tested. Add the Document you want to extract and you'll get mail when the document's state is changing. 

Thanks for reading this far. If this helps you then please share with your friends and join our blog.





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

If the post was helpful to you, Please donate us so we can create more useful content

Support by Donate

Pages