Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameRequiredDefault ValuePurposeExample
toyes
list of mail recipient's e-mail address, multiple e-mail addresses are separated by comma or semicolonops@example.com

from

no

e-mail address used for sending mail

js7@example.com

from_name

no

the free-text name of the account that sends mail

JS7 JobScheduler

reply_to

no

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

no-reply@example.com

cc

no

e-mail address of carbon copy recipient, multiple e-mail addresses are separated by comma or semicolon


bccno
e-mail address of blind carbon copy recipient, multiple e-mail addresses are separated by comma or semicolon
subjectyes
the mail subject, consider the use of ASCII 7bit characters
bodyyes
the mail body specified as plain text or HTML depending on the content_type setting
content_typenotext/plaina content type text/plain specifies plain text mail, a content type text/html specifies use of HTML mails.
encodingno7bitthe character encoding of subject and body, by default ASCII 7bit is used
charsetnoiso-8859-1by default Latin 1 (iso-8859-1) is used
attachmentno
the path to a file to be attached, multiple files are separated by semicolon
attachment_content_typenoapplication/octet-streamthe attachment content-type typically allows binary files
attachment_encodingnoBase64any attached files are encoded with printable base64 characters
attachment_charsetnoiso-8859-1by default Latin 1 (iso-8859-1) is used
mail.smtp.hostyes
the hostname or IP address of the SMTP server
mail.smtp.portno25the port of the SMTP server
mail.smtp.userno
the user account to be used in case that the SMTP server requires authentication
mail.smtp.passwordno
the password to be used in case that the SMTP server requires authentication
mail.smtp. ...no
any additional Java properties can be used as applicable to the JavaMail package
credential_store_fileno
Location of a credential store database (*.kdbx)./config/private/jobs.kdbx
credential_store_keyno
Location of a credential store key file (*.key)./config/private/jobs.key

...

The MailJob can be used with a credential store to hold sensitive arguments. For use of the credential_store_* arguments see JS7 - Use of Credential Store with JITL Jobs.

Further Resources

...