Emailout parameters in the sm.ini file

JavaMail requires the setup of Emailout parameters in the sm.ini file before it takes effect. The system administrator must set these parameters from the HPE Service Manager server's OS command prompt or from the initialization file (sm.ini). The following example shows desired Emailout parameters for JavaMail:

  • smtphost: specifies the name of the SMTP server host for client requests.
  • smtpport: defines the communications port SMTP uses.
  • smtpusername: defines the account name of the SMTP server.
  • smtppassword: identifies the password the HPE Service Manager server uses to bind to the SMTP server.
  • smtpTLS: defines whether SMTP requires Transport Layer Security (TLS) authentication to send emails.
  • smtpEnableSSL: defines whether SSL should be used for SMTP operations.
  • smtpSSLPort: defines the port number for SSL connection.
  • mailFrom: specifies the descriptive name or other identifier of the sender of an e-mail. This parameter should be set in the format of email address. Service Manager processes this parameter as follows:

    • If the mailFrom parameter is configured in the sm.ini or sm.cfg file, Service Manager always uses this value as the Mail From address for all outbound emails.

    • If the mailFrom parameter is not configured in the sm.ini or sm.cfg file, Service Manager always uses the value of the Mail From value of the eventout record as the Mail From address, without checking if the value is a valid email address.

    • If there is no mailFrom value configured in smi.ini or sm.cfg and no Mail From value in the eventout record, Service Manager logs an exception in sm.log.

  • mailThreadCount: specifies the number of threads to send emails. The default value is 10.
  • mailBCC: specifies a list of blind carbon copy (BCC) recipients to all emails. The value of this parameter is a comma-delimited list of user email accounts.

  • SMIMEKeystore: specifies the name of the certificate in PKCS12 format placed in the server's RUN folder for enabling S/MIME signatures.
  • SMIMEKeystorePass: specifies the password that is used when generating SMIMEKeystore.
  • SMIMEKeyAlias: specifies the alias that is used when generating SMIMEKeystore.