I tried that, still not contacting SMTP server, this is what I get:
DEBUG: setDebug: JavaMail version 1.4.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "192.168.20.56", port 25, isSSL false
220 AEADSVM008-NRC.nrcuae.ae Microsoft ESMTP MAIL Service ready at Thu, 4 Sep 2014 08:18:58 +0400
DEBUG SMTP: connected to host "192.168.20.56", port: 25
EHLO localhost.localdom
250-AEADSVM008-NRC.nrcuae.ae Hello
250-SIZE 37748736
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 XRDST
DEBUG SMTP: Found extension "SIZE", arg "37748736"
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "X-ANONYMOUSTLS", arg ""
DEBUG SMTP: Found extension "AUTH", arg "NTLM"
DEBUG SMTP: Found extension "X-EXPS", arg "GSSAPI NTLM"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "BINARYMIME", arg ""
DEBUG SMTP: Found extension "CHUNKING", arg ""
DEBUG SMTP: Found extension "XRDST", arg ""
DEBUG SMTP: Attempt to authenticate
DEBUG SMTP: check mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM
DEBUG SMTP: mechanism LOGIN not supported by server
DEBUG SMTP: mechanism PLAIN not supported by server
DEBUG SMTP: mechanism DIGEST-MD5 not supported by server
DEBUG NTLM: type 1 message: 4E 54 4C 4D 53 53 50 00 01 00 00 00 03 B2 00 00 06 00 06 00 29 00 00 00 09 00 09 00 20 00 00 00 6C 6F 63 61 6C 68 6F 73 74 4E 52 43 55 41 45
DEBUG SMTP: AUTH NTLM command trace suppressed
DEBUG NTLM: type 3 message: 4E 54 4C 4D 53 53 50 00 03 00 00 00 18 00 18 00 78 00 00 00 18 00 18 00 90 00 00 00 0C 00 0C 00 40 00 00 00 1A 00 1A 00 4C 00 00 00 12 00 12 00 66 00 00 00 00 00 00 00 A8 00 00 00 01 82 00 00 4E 00 52 00 43 00 55 00 41 00 45 00 61 00 64 00 6D 00 69 00 6E 00 69 00 73 00 74 00 72 00 61 00 74 00 6F 00 72 00 6C 00 6F 00 63 00 61 00 6C 00 68 00 6F 00 73 00 74 00 B2 5D CC 42 A9 06 28 8A 13 60 BE 6C 73 56 23 53 BA 9B 42 B8 9F BE BE C0 B1 C3 DF 92 31 75 1B 7E 16 04 10 1F 06 43 1D AB 80 06 D5 ED 75 13 EC 29
DEBUG SMTP: AUTH NTLM failed
Thanks.
Important Notice:
•This email and any files transmitted with it are confidential and contain privileged or copyright information for the National Rehabilitation Centre.You must not present this message to another party without gaining permission from the sender.
•Any views expressed in this message are those of the individual sender,except where the sender specifically states them to be the views of National Rehabilitation Centre.
•If you are not the intended recipient you must not copy, distribute or use this email or the information contained in it for any purpose other than to notify us.
•If you have received this message in error, please notify the sender immediately, and delete this email from your system.
A leading Centre in Addiction Prevention, Treatment and Rehabilitation.