| Class |
Description |
| CSmtpClient |
Constructor which initializes the current instance of the class. |
| ~CSmtpClient |
Destructor which releases resources allocated by the class. |
| Method |
Description |
| AddRecipient |
Add an address to the recipient list. |
| AppendMessage |
Append contents of specified file to the current message. |
| AttachHandle |
Attach the specified client handle to this instance of the class. |
| AttachThread |
Attach the specified client handle to another thread. |
| Authenticate |
Authenticate the client session with a user name and password. |
| Cancel |
Cancel the current blocking operation. |
| CloseMessage |
Close the message being composed and submit for delivery. |
| Command |
Send a command to the server. |
| Connect |
Establish a connection with a server. |
| CreateMessage |
Create a new message. |
| CreateSecurityCredentials |
Allocate a structure to establish client security credentials. |
| DeleteSecurityCredentials |
Delete the specified client security credentials. |
| DetachHandle |
Detach the handle for the current instance of this class. |
| DisableEvents |
Disable all event notification, including event callbacks. |
| DisableTrace |
Disable logging of network function calls. |
| Disconnect |
Disconnect from the current server. |
| EnableEvents |
Enable event handling by the library. |
| EnableTrace |
Enable logging of network function calls to a file. |
| ExpandAddress |
Expand the specified address. |
| FreezeEvents |
Suspend and resume event handling by the client. |
| GetCurrentDate |
Return the current date and time. |
| GetDeliveryOptions |
Return the delivery options for the current session. |
| GetErrorString |
Return a description for the specified error code. |
| GetExtendedOptions |
Return the extended options supported by the server. |
| GetHandle |
Return the client handle used by this instance of the class. |
| GetLastError |
Return the last error code. |
| GetLocalName |
Return the local host name assigned for the client session. |
| GetResultCode |
Return the result code from the previous command. |
| GetResultString |
Return the result string from the previous command. |
| GetSecurityInformation |
Return security information about the current client connection. |
| GetStatus |
Return the current status of the client. |
| GetTimeout |
Return the number of seconds until an operation times out. |
| GetTransferStatus |
Return data transfer statistics. |
| IsBlocking |
Determine if the client is blocked, waiting for information. |
| IsConnected |
Determine if the client is connected to the server. |
| IsInitialized |
Determine if the class has been successfully initialized. |
| IsReadable |
Determine if data can be read from the server. |
| IsWritable |
Determine if data can be written to the server. |
| RegisterEvent |
Register an event handler for the specified event. |
| Reset |
Reset the client and return to a command state. |
| SendMessage |
Send message to the specified recipient. |
| SetDeliveryOptions |
Set the delivery options for the current session. |
| SetLastError |
Set the last error code. |
| SetLocalName |
Set the local host name to be used for the client session. |
| SetTimeout |
Set the number of seconds until an operation times out. |
| ShowError |
Display a message box with a description of the specified error. |
| SmtpEventProc |
Process events generated by the client. |
| SubmitMessage |
Compose and submit a message for delivery to the specified mail server. |
| VerifyAddress |
Verify that the specified address is valid. |
| Write |
Write data to the server. |