Today I have download to verify smtp client and found a bug in the program..just though to share with you guys..I am trying to verify AUTH PLAIN and found base64 encoder taking user TWICE and endcoding..i have adjusted mine...please correct $user\0$user to \0$user