Thanks it works great now. It did however have 4 characters at the end which was not the same as James SHA-1, thus i cut it out and now authentication works through the mail server.
substr(base64_encode(sha1($password, true)),0,-4) Regards, Jaco -- View this message in context: http://www.nabble.com/James-Mail-Server-Password-Encoding-From-PHP-tp22347592p22348565.html Sent from the James - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org