このプロシージャでは、sendMail手順で必要な SMTP Configuration を設定します。 

パラメータを省略したり、パラメータにNULL値/空文字列を指定しても、SMTP Configurationの値は変更されないことに注意してください。すべてのパラメータは省略するか、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

hostname

New SMTP server hostname

port

New SMTP server port

ssl

New SSL setting

starttls

New TLS setting

username

New SMTP server username

password

New SMTP server encrypted password. To set an unencrypted password, setSmtpConfiguration may be used

fromAddr

New email address to be used as a "from" address; mandatory


SYSADMIN.importSmtpConfiguration available since v4.2