• Homepage
  • FAQ
  • Modules
    • Workflow Designer
      • Documentation
      • Changelog VT 7
      • Task Updates
      • Knowledge Base
    • Colorizer
      • Changelog
    • CloudFile
    • Coupons
    • VtigerCRM Tools
    • Other Documentations
  • VtigerCRM
  • Tickets
  • Redoo Networks Homepage
  • German
  • Homepage
  • FAQ
  • Modules
    • Workflow Designer
      • Documentation
      • Changelog VT 7
      • Task Updates
      • Knowledge Base
    • Colorizer
      • Changelog
    • CloudFile
    • Coupons
    • VtigerCRM Tools
    • Other Documentations
  • VtigerCRM
  • Tickets
  • Redoo Networks Homepage
  • German
home/Knowledge Base/Workflow Designer/General/How to use the Mailscanner from Workflow Designer?

How to use the Mailscanner from Workflow Designer?

518 views 2 July 3, 2017 sysadmin

With version 600.1801 the Workflow Designer gets a powerful function like Mailscanner/Mailconverter from VtigerCRM core.
But because the module itself is much more flexible, then the core Mailscanner, you could do much more things.

Step 1 – Server Connection

The server configuration is done within the Provider Manager. Add a “IMAP Server” Connection and fill in all information. It is recommended to use encryption, but this depends on your IMAP Server.

Step 2 – Create Mailscanner Workflow

Create a new Workflow and select as trigger “Used in Mailscanner”. This workflow will be executed for every mail one time.
The module you choose have no influence on the Workflow itself, because he is executed without a record. (Variables won’t work, but the module is forced to base on modules.)
You could use “execute Workflow with external record”, “global search”, … tasks and also tasks special for Mailscanner workflows. (“Mark mail as read”, “move email to folder”)

Step 3 – Mailscanner configuration

In Workflow Designer sidebar, click “Mailscanner” and add a new configuration.
A) Fill in a title of Mailscanner and select your previously created IMAP provider. Save this group to load folders
B) Select the folders you want to scan and configure a condition, which filters to process by this configuration. Save this group
C) Workflow Configuration:

  • Select a Workflow you want to execute per email
  • If you want to get the eml file of current email, insert a Filestore ID , you could use in Worklfow to handle the file
  • If you want to store attachments on this email, insert an Filestore ID, the Mailscanner is use as prefix of Filestore IDs from attachment files
  • Add Environmental variables, you want to use in Workflow. You are free to use every part of the email within environment variable (Subject, Sender Domain, Sender name, …)
  • Save this group

Now you are able to test the configuration / folder / conditions in last group. You will get a list of 5 mails, which would be processes next.

If you are satisfied with the result, activate the configuration. There is a second cronjob configured in vtigercrm, which exclusively handle the Mailscanner feature.
You are also able to trigger the execution manually on top right. You would be asked, how much mails you want to process and if the mails should be marked as done. (Wouldn’t processed again)

Was this helpful?

2 Yes  3 No
Related Articles
  • License cannot be set. What can I do?
  • Use sendmail to send mails
  • Workflow Designer Quick Start
  • Terminology
  • Compatibilty to third party modules
  • Scheduled Workflows
Leave A Comment Cancel reply

New title
  • Workflow Designer 3
    • Developer 14
    • General 13
    • Example Workflows 2
  • VtigerCRM 0
    • EventHandlers 4
    • Modifications 1
    • General 4
    • VtigerCRM 6 1
  • CloudFile 1
  • Coupons 1
  • Colorizer 2
  • Flex Reports 1
Popular Articles
  • How to debug VtigerCRM?
  • Coupons
  • [VT6] use custom Product price fields for special modules
  • SMTP Server Konfiguration
  • Workflow Designer Quick Start

  Use sendmail to send mails

Terminology  

  • Impressum

Zum shop

  • Deutsch