Loads and initializes the service.

Syntax:

Command

Keyword

Value

Developer notes

SERVICE_LOAD

SERVICE

SMTPMailService


TRACE


Refer to Service Load Tracing for value details.

TRACE_NAME


TRACE_GROUP


Associated Service Properties File

The following service resource properties are loaded from the SMTPMailService.properties file and used to set initial values:

  • server
  • port
  • secure
  • simplify
  • charset
  • user
  • password
  • from.name
  • from.address
  • mail.domain
  • ntlm.domain
  • session.debug
  • keystore.{name}
  • recipient.certificate.{toaddress}
  • Client.id
  • Client.secret
  • Auth.token.endpoint
  • Auth.scope
  • Token.cache
  • Token.cache.dir
  • Timeout.read
  • Timeout.write
  • Timeout.connection

Technical Specifications

To support encrypted emails requires a recipient.certificate.{toaddress} entry for each recipient. The public certificate file is supplied by the email recipient.

Refer to the SEND command and the ENCRYPT keyword.

     recipient.certificate.jane.doe@company.com=pki/company_jane_doe.cer
recipient.certificate.john.doe@company.com=pki/company_john_doe.cer

To support signed emails requires a keystore.{name} entry that references a key store file.

Refer to the SEND command and the SIGNER keyword.

Refer to the SET command and the KEYSTORE keyword.

     keystore.smtpmail=pki/smtpmail.pfx

The key store file contains a labeled private key and certificate entry.

Example

     SERVICE_LOAD SERVICE(SMTPMailService) TRACE(*YES)


  • No labels