Does anyone know what the return value of "11" means when you use SendMail?
What are all of the error codes and their meanings?
J.D.
SendMail ...
Hello,
If you are using:
long WINAPI SendMail(LPCTSTR szTo, zMessage, LPCTSTR szFilenames, long lOptions)
FAILURE mapi errors declared in mapi.h
SUCCESS SUCCESS_SUCCESS
Please check mapi.h on your system.
If you are using:
long WINAPI SendSmtpMail(LPCTSTR szHostnszMessage, LPCTSTR szFilenames)
FAILURE 11 Winsock version not found
13 Error connecting to server
14 Error communicating with server
15 Recipient error
16 Error sending the data
17 Error while quitting
20 Not enough resources
SUCCESS 0
Hope this helps
If you are using:
long WINAPI SendMail(LPCTSTR szTo, zMessage, LPCTSTR szFilenames, long lOptions)
FAILURE mapi errors declared in mapi.h
SUCCESS SUCCESS_SUCCESS
Please check mapi.h on your system.
If you are using:
long WINAPI SendSmtpMail(LPCTSTR szHostnszMessage, LPCTSTR szFilenames)
FAILURE 11 Winsock version not found
13 Error connecting to server
14 Error communicating with server
15 Recipient error
16 Error sending the data
17 Error while quitting
20 Not enough resources
SUCCESS 0
Hope this helps