importSmtpConfiguration
This procedure sets the SMTP configuration required by the sendMail procedure.
Please note that omitting parameters or specifying a null value/empty string for them will not change the value in the SMTP configuration. All parameters may be omitted or set to null.
Usage
SYSADMIN Procedure
CALL "SYSADMIN.importSmtpConfiguration"(
"hostname" => 'string_hostname',
"port" => integer_port,
"ssl" => boolean_ssl,
"starttls" => boolean_tls,
"username" => 'string_username',
"password" => 'string_password',
"fromAddr" => 'string_fromAddr'
) ;;
UTILS Procedure
CALL "UTILS.importSmtpConfiguration"(
"hostname" => 'string_hostname',
"port" => integer_port,
"ssl" => boolean_ssl,
"starttls" => boolean_tls,
"username" => 'string_username',
"password" => 'string_password',
"fromAddr" => 'string_fromAddr'
) ;;
Parameters
Parameter | Description |
|---|---|
| New SMTP server hostname |
| New SMTP server port |
| New SSL setting |
| New TLS setting |
| New SMTP server username |
| New SMTP server encrypted password. To set an unencrypted password, |
| New email address to be used as a "from" address; mandatory |