XATRN exit status code table (ERRORLEVEL)

 OK CODES
0OK and mail has been downloaded
1OK and no mail waiting in the server
2..9Reserved for other OK codes
 ERROR CODES
10Reserved code, not used
11Generic command line error
12Winsock setup or version error
13XATRN supported or selected authentication types are not supported by the ATRN server
14Authentication refused by XATRN server (invalid username or pwd ?)
15cannot resolve hostname of ATRNserver [gethostbyname() failed]
16cannot resolve hostname of SMTPserver [gethostbyname() failed]
17cannot open TCP connection to ATRN server
18cannot open TCP connection to SMTP server
19SMTP protocol error or timeout (with XATRN or SMTP server)
20Internal encoding error

Home