Page History
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Introduction
The JITL MailInboxJob template can be used to read mail by job from a JS7 Agent.
...
- Required arguments include the
to
argument to specify the recipient of mailmail.store.protocol
argument to specifyimap
orpop3
to be used. - Any other arguments are optional provided that a job resource is used that specifies connection details to your mail server, see below. Otherwise individual settings such as the IMAP/POP3 host, IMAP/POP3 port etc. can be specified from arguments.
- When using a secure SSL connection consider to
- use the
mail.imap.ssl.enable
argument with the valuetrue
, - optionally use the
mail.imap.ssl.protocols
argument with a value such asTLSv1.2
orTLSv1.1,TLSv1.2
to specify one or more protocols to which handshake with the mail server is limited.
- use the
- Select the check box provided with each argument if you want this argument to be added to the arguments of the mail inbox job.
...
- from individual variables as offered by the job wizard.
- by use of job resources.
Use of Job
...
Resources for Mail Settings
A number of settings for reading mail inboxes most probably carry the same values when used for different mail jobs. This includes e.g. use of the IMAP/POP3 host, port etc.
...
- The variable names specified are selected to match use with the JITL
MailInboxJob
template. - Consider the use of variable names that start with
mail.store.
,mail.imap.
,mail.pop3
, etc.- The variable names correspond to Java properties available with the JavaMail API. Any of the JavaMail properties can be specified.
- Find a full list of available
- general mail settings from https://javaee.github.io/javamail/docs/api/javax/mail/package-summary.html
mail.imap.
properties from https://javaee.github.io/javamail/docs/api/com/sun/mail/imap/package-summary.htmlmail.pop3.
properties from https://javaee.github.io/javamail/docs/api/com/sun/mail/pop3/package-summary.html
- Required properties include (but are not limited to):
mail.store.protocol
mail.imap.host
mail.imap.port
mail.imap.user
mail.imap.password
Assigning a Job Resource for Mail Settings
...
Documentation
Job Documentation including the full list of available arguments: https://www.sos-berlin.com/doc/JS7-JITL/MailInboxJob.xml
The MailInboxJob class accepts the following arguments:
...
from
...
e-mail address used for sending mail
...
from_name
...
the free-text name of the account that sends mail
...
reply_to
...
if no replies should be accepted then typically use an e-mail address such as no-reply@example.com
is used for the respective domain
...
cc
...
e-mail address of carbon copy recipient, multiple e-mail addresses are separated by comma
...
For use of the credential_store_*
arguments see JS7 - Use of Credential Store with JITL Jobs.
...