Question
I import documents via POP3/IMAP. I need to use an email sender value in building a filename for export files.
Answer
- Create a batch processing script stage after the Scanning stage in the Advanced workflow.
- Add this code into the script:
string emailSender = Batch.Properties.Get("fc_Predefined:EmailSender");
Batch.Properties.Set("EmailSender", emailSender);
- Add a tag into the filename template:
Comments
3 comments
Benazir
Hey can someone explain how to get email body
Stefan Gosteli
Hey can someone explain how to get email body!! or how to set the body to end of the batch..
Tatiana Dyu
Hello,
In FlexiCapture 12, you can enable the Attach mail to batch option which will save the email body as an html attachment to the batch:
You can download it manually, or save it using a script (please refer to the IUserAttachments object description).
If you have the Message bodies and attachments option selected (as per the 1st screenshot above), the email body will be added as a separate page at the beginning of a batch. You can move it using a batch processing script stage in the Advanced Workflow.
Please sign in to leave a comment.