Mail-Import.properties
Filename: Mail-Import.properties
Location: <Transact_Home>\Application\WEB-INF\classes\META-INF\dcma-mail-import\
Purpose: Used to configure settings for importing batch instances from email.
dcma.importMail.cronExpression=0 0/1 * ? * *
#multiple values separated by semi-colon(;)
dcma.supported.attachment.extension=doc;xls;zip
#Value indicating the threadpool size to be used by the mail import service.
dcma.mail.import.core.size=1
# Extension type for mail import body.
# 0 - HTML, default value
# 1 - TEXT
dcma.mail.import.mail_body_extension_type=0
#dcma.mail.import.max_mail_retry_count tells how many number of times try to process mail
# again in case of failure
dcma.mail.import.max_mail_retry_count=3
# mail retry interval
dcma.mail.import.mail_retry_interval=2000
#mail body download flag
#1= don't download body, download only attachments
#0= download body with attachments(default value)
#mail processing cron expression:
dcma.importMail.mailProcessCronExpression=0 0/5 * ? * *
#max cumulative mail processing count.
dcma.mail.import.max_mail_processing_capacity=5
#To check the procedure to be followed for picking up e-mails.
#automated, for simple pickup of e-mail = 0
#timed, for clubbing of e-mails = 1
dcma.mail.import.mail_pickup_procedure=0
#flag to specify if msg file needs to be downloaded or processed
#only download msg attachment=0
#download and process msg attachments=1
dcma.mail.msg_download_and_process_flag=0
#number of mails to be downloaded per cron cycle
dcma.mail.number_of_mails_downloaded_per_cron_cycle=5
# HTML mail body processes through below softwares. Set value of dcma.mail.import.mail_conversion_tool corresponding to software
# soffice - 1
# itext - 2
# wkhtmltopdf - 3
dcma.mail.import.mail_conversion_tool=2
#These parameters are used in case of wkhtml tool.
dcma.mail.html_to_pdf_conversion_parameter=--load-error-handling ignore -q --minimum-font-size 16 --page-size A4 --zoom 1.4
#This parameter is used in case of itext tool.
#When mails are sent to Transact, the text is cut off during the conversion process.
#Tabular data are displayed in HTML tags.
#set true to resolve the above issues.
dcma.mail.itext_html_tag=false
#Switch to fetch and set headers or not.
dcma.mail.headers_switch=ON
#Headers to fetch from mail, separated by semi-colon.Example: Subject;To;From
dcma.mail.required_headers=From;To;Date;Subject;Message-ID
# Maximum number of retry attempts made to connect to mail server in case of failure.
dcma.mail.import.max_connection_retry_count=3
# Time interval in ms between each retry attempt for mail server connection.
dcma.mail.import.connection_retry_interval=500
#Is proxy configuration required for exchange server?
#false: Mail should NOT use proxy for exchange server (Default)
#true: Mail should use proxy for exchange server
dcma.mail.import.is_proxy_required=false
#proxy server ip-address
dcma.mail.import.proxy_host=127.0.0.1
#proxy server port
dcma.mail.import.proxy_port=80
#Does proxy require authentication?
dcma.mail.import.proxy_credential_required=false
#Proxy server username
dcma.mail.import.proxy_server_username=ephesoft
#Proxy server password
dcma.mail.import.proxy_server_password=ephesoft
#Proxy server domain
dcma.mail.import.proxy_server_domain=ephesoft
# IMAP and POP3 connection timeout in milliseconds
mail.util.connection.timeout=30000
# IMAP and POP3 request (I/O) timeout in milliseconds
mail.util.request.timeout=30000
# Enable/disable automatic character-set detection (from subject & body) for incoming mails
dcma.mail.import.charset.autodetect=false
# Default character-set to use when automatic detection fails for mail subject or body
dcma.mail.import.charset.default=utf-8
# Enable/disable downloading of inline attachments for incoming mails
dcma.mail.import.download_inline_attachments=true
# Remove invalid character from attachments name
dcma.mail.import.attachments_invalid_characters=[/\\\\:*?\"<>|]
#set true to remove HTML comment from email body for ITEXT conversion, By default it always be false
dcma.mail.itext_remove_html_comment=false
#Set ON/OFF to enable/disable advance feature for inline body attachment handling for incoming mails, By default it will always ON for fresh installation
dcma.mail.import.advanced_inline_body_attachment_handling=ON