Assembly: Net;
Namespace: None;
The CurlSmtpClient class implements the object that sends email messages using the LibCurl library via the SMTP protocol.
If the server requires user authorization prior to message sending, it is necessary to use the NetMapiClient class that is used for message sending by means of the application installed in the operating system as a default mail client. The application must be set up properly beforehand.
The class is a cross-platform implementation of the NetSmtpClient class. Macros implemented using the CurlSmtpClient class can be started for execution in Linux family operating systems.
Constructor name | Brief description | |
The CreateWithHost constructor creates an object that provides for email message sending. | ||
The CreateWithHostAndPort constructor creates an object that provides for email message sending via the specified port of mail server. |
Property name | Brief description | |
The Credentials property returns the credentials used for the outgoing mail server authorization. | ||
EnableSsl | The EnableSsl property determines whether SSL encryption is required to send messages via external mail servers. | |
The Host property determines the name or the IP address of a sending mail SMTP server. | ||
The Port property determines the port, through which messages are sent. | ||
The ThisHostCredentials property determines the credentials of the SMTP sending mail server that is used on email message sending. | ||
The Timeout property determines the timeout, during which a message is waited to be sent to server. | ||
The UseDefaultCredentials property determines whether to use for all the queries the system accounts for the current security context, in which the application is executed. |
Method name | Brief description | |
The Send method sends an email message. |
See also: