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.na
IIRC James Server does a base64 encoding of the *binary* hash returned
from the SHA1 algorythm described by the RFC you linked.
php sha1() function does instead an HEX encoding of the hash.
So, either you have php 5 and you use the raw_output parameter in your
sha1 call, or you hex decode the str
Hi,
I am writing a PHP website server administration component for the MYSQL
database used by James Mail server.
When I encode the password in PHP using MD5, Crypt, SHA, SHA1 or use MSQL
encoding functions (MD5 or SHA) when I try to send mail to the Java server
it keeps telling me "ERROR smtpserv