Return codes?

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
bsspgh
Posts: 5
Joined: Tue Nov 25 2003

Return codes?

Post by bsspgh »

Is there a list explaining what the return codes mean? I am getting return codes of -13 and -15 when trying to send an email through the sendsmtpmail. I need atleast -13 and -15 for now but it would be really helpful to be able to see all of the return code meanings for furture reference.

Thank you in advance,

Jim
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please find here a list of all possible return values for the function SendSmtpMail.

Code: Select all

long WINAPI SendSmtpMail(LPCSTR szHostnszMessage, LPCSTR 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
Post Reply