Mail Server API allows the user to view mail server details and configure mail server parameters in Applications Manager. This API is designed to support GET and POST requests.
GET Request
Whenever the request is sent by "GET" method, the data corresponding to the API will be listed.
示例请求
http://[host]:[port]/AppManager/xml/MailServer?apikey=[apikey]>
When the request is sent by "POST" method, the corresponding data will be added/updated.
示例请求
http://[host]:[port]/AppManager/xml/MailServer?apikey=[apikey]
请求参数
API请求中涉及的参数如下所述:
For Primary Server
| 字段 | 描述 |
|---|---|
| smtpServer | The Server IP or host name of the host in which the SMTP server runs. |
| smtpPort | The SMTP port number. |
| smtpEmail | The email address available in that SMTP server. |
| smtpUserName | User name for authentication |
| smtpPassword | Password for authentication |
| prmTlsAuth | Primary Tls Authentication. The value can be either true or false. |
| prmSslAuth | Primary SSL Authentication. The value can be either true or false. |
For Secondary Server
| 字段 | 描述 |
|---|---|
| secSmtpServer | The Server IP or host name of the host in which the SMTP server runs. |
| secSmtpPort | The SMTP port number. |
| secSmtpEmail | The email address available in that SMTP server. |
| secSmtpUserName | Username for authentication. |
| secSmtpPassword | Password for authentication. |
| secTlsAuth | Secondary Tls Authentication. The value can be either true or false. |
| secSslAuth | Secondary SSL Authentication. The value can be either true or false. |
示例:
http://app-windows:9091/AppManager/xml/MailServer?apikey=7b5fde68148fa2419bc2f1a1ab87e75它允许我们跟踪关键指标,如响应时间、资源利用率、错误率和交易性能。实时监控告警会及时通知我们任何问题或异常,使我们能够立即采取行动。
审稿人角色:研究与开发

Lexmark技术支持经理