SmtpServer handles and manipulates the SMTP service.
More...
SmtpServer handles and manipulates the SMTP service.
◆ getServerDomainName()
string SmtpServer::getServerDomainName |
( |
| ) |
|
Returns the domain name of the SMTP server.
- Returns
- string, the domain name of the SMTP server.
◆ isEnabled()
bool SmtpServer::isEnabled |
( |
| ) |
|
Returns true if the SMTP service is enabled, otherwise false.
- Parameters
-
bool,true | if the SMTP service is enabled, otherwise false. |
◆ setEnable()
void SmtpServer::setEnable |
( |
bool |
| ) |
|
Enables or disables the SMTP service.
- Parameters
-
bEnable,true | to enable the SMTP service, false to disable it. |
◆ setServerDomainName()
void SmtpServer::setServerDomainName |
( |
string |
| ) |
|
Sets the domain name for the SMTP server.
- Parameters
-
name,the | domain name for the SMTP server. |
The documentation for this class was generated from the following file: