Oracle 参数 SMTP_OUT_SERVER 官方解释,作用,如何配置最优化建议
本站中文解释
SMTP_OUT_SERVER用于指定SMTP服务器(Simple Mail Transfer Protocol),这个参数必须以下述格式设置:[mail..com:25],其中.com为SMTP服务器的主机名,而25是SMTP服务器使用的端口号。
所以,要正确设置SMTP_OUT_SERVER参数, 必须要先知道自己组织所使用的SMTP服务器的主机名,然后才能设置正确的参数,如 [mail..com:25]
官方英文解释
SMTP_OUT_SERVER
specifies the SMTP host and port to which UTL_MAIL
delivers out-bound E-mail.
Property | Description |
---|---|
Parameter type |
String |
Syntax |
|
Syntax |
server_clause::=
|
Default value |
There is no default value. |
Modifiable |
|
Modifiable in a PDB |
Yes |
Basic |
No |
Multiple servers may be specified, separated by commas.
If the first server in the list is unavailable, then UTL_MAIL
tries the second server, and so on.
If SMTP_OUT_SERVER
is not specified, then the SMTP server name defaults to the value of DB_DOMAIN
, the port number defaults to 25
, and the SMTP domain defaults to the suffix of DB_DOMAIN
.
See Also:
Oracle Database PL/SQL
Packages and Types Reference for information on the UTL_MAIL
package