Get latest error descriptions.
[Syntax] C++: HRESULT GetLastErrDescription( BSTR* pVal ) Visual Basic: GetLastErrDescription( ) As String C#: string GetLastErrDescription()
Return values
If SendMail method handles an error in synchronous mode, the return value is the error description; otherwise, the return value is null.
| Possible Value | Corresponding Error Code |
| Error with connecting server. | 0 |
| Error with sending HELO/EHLO. | 1 |
| Error with user authentication. | 2 |
| Error with sending sender. | 3 |
| Error with sending recipients. | 4 |
| Error with sending data. | 5 |
| Error with SMTP reset. | 6 |
| Error with Dns lookup. | 7 |
Remarks
This method is designed for synchronous operating mode.
See Also
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.