9.2.1.2 ahfctl getsmtp

Use the ahfctl getsmtp command to query the SMTP mail configuration parameters.

Syntax

ahfctl getsmtp 
[-h] 
[-debug] 
[-all] 
[-host] 
[-user] 
[-password] 
[-from] 
[-to] 
[-port] 
[-cc] 
[-bcc] 
[-ssl] 
[-auth]

Parameters

Table 9-3 ahfctl getsmtp Command Parameters

Parameter Description

-debug

Specify to query if debugging is enabled or not

-all

Specify to query all smtp parameters.

-host HOST

Specify to query the name of the SMTP server.

-user USER

Specify to query the name of the SMTP user,

-password

Specify to query the password of the SMTP user.

-from FROM

Specify to query the email address of the sender.

-to TO

Specify to query the email address of the recipient.

-port PORT

Specify to query the port of the SMTP server.

-cc CC

Specify to query the CC email address.

-bcc BCC

Specify to query the BCC email address.

-ssl SSL

Specify to query if SSL is enabled or not.

-auth AUTH

Specify to query if authentication is enabled or not.

Example 9-3 ahfctl getsmtp

To query all of the SMTP parameters:
ahfctl getsmtp -all
To query the SMTP server configuration for from email address:
ahfctl getsmtp -to