New Message: Re: SMTP Authentication [Solved]
webmaster at userland.com
webmaster at userland.com
Mon Aug 28 13:45:52 CDT 2006
A new message was posted:
Address: http://frontier.userland.com/discuss/msgReader$14467
By: Tom Clifton (tclifton at es-designs.com)
The sendMail suite was giving me errors when trying to connect to Earthlink's smtp authentication server.
The error was: "501 Invalid base64 data"
After discussing the problem with David Bayly, he suggested changing the second parameter (64) in the following line of sendMail.utility.authenticate:
s = base64.encode(user + " " + crypto.hmac_MD5(s, password), 64)
to something large like 500:
s = base64.encode(user + " " + crypto.hmac_MD5(s, password), 500)
so that there are no breaks in long authentication strings.
I tested this change and it fixed the problem. I can now use Frontier's email services through my Earthlink account.
Thank you, David for the suite and your help getting this problem worked out.
This is a Manila site... http://manila.userland.com/.
More information about the Manila-Server
mailing list