GET SMTP
GET SMTP
The GET /SMTP Short for simple mail transfer protocol, SMTP is a protocol for sending email messages between servers. method is used to retrieve the SMTP configuration profile from Keyfactor Command. This method returns HTTP 200 OK on a success with details about the SMTP profile. Only one profile may be configured. There are no input parameters for this method.
Table 573: GET SMTP Response Data
Name | Description |
---|---|
Host | A string indicating the fully qualified domain name of your SMTP host (e.g. corpexch02.keyexample.com). |
Id | An integer indicating the Keyfactor Command reference ID of the SMTP record. This will be 1 in most environments. |
Port | An integer indicating the SMTP port (e.g. 25). |
RelayAuthenticationType |
An integer indicating the type of authentication used to connect to the mail server. Show authentication details. |
RelayUsername |
A string indicating the username of the account providing authentication to the mail server if RelayAuthenticationType is set to 2. The username should be provided in DOMAIN\\username format. For most mail server configurations, the username provided must have as a valid email address the email address you set in the SenderAccount parameter A parameter or argument is a value that is passed into a function in an application.. |
SenderAccount |
A string indicating the sender for email messages delivered from Keyfactor Command, in the form of an email address (e.g. jsmith@keyexample.com). Depending on the email configuration in your environment, the sender account may need to be a valid user on your mail server or you may be able to put anything in this field. |
SenderAddress |
A string indicating the sender for email messages delivered from Keyfactor Command, in the form of an email address (e.g. jsmith@keyexample.com). This is considered deprecated and may be removed in a future release. |
SenderName |
A string indicating the name that appears as the "from" in the user's mail client (e.g. "Keyfactor Command"). This value is used for both configurations of RelayAuthenticationType. |
UseSSL | A Boolean indicating that mail should be delivered over TLS TLS (Transport Layer Security) and its predecessor SSL (Secure Sockets Layer) are protocols for establishing authenticated and encrypted links between networked computers./SSL TLS (Transport Layer Security) and its predecessor SSL (Secure Sockets Layer) are protocols for establishing authenticated and encrypted links between networked computers.. Not all mail servers support this. |