[Bug 405733] Re: sendEmail fails when using SMTP PLAIN Authentication
Anik
clay at gmx.at
Mon Aug 10 18:19:08 UTC 2009
You are correct about the assumption that the "AUTH PLAIN" string is not
generated correctly. After some observation (I have very little Perl
knowledge) it looks like sendEmail adds 0x0d0d0a, that's one 0x0d too
much. It looks like the function base64_encode works incorrectly. It
adds 0x0d0a after each 76 characters and then finally chomps the string
once, and it looks like this does not delete the 0x0d.
My fix was to replace the chomp by a doubled chop:
833,834c833
< chop $data;
< chop $data;
---
> chomp $data;
This seems to fix it for me.
--
sendEmail fails when using SMTP PLAIN Authentication
https://bugs.launchpad.net/bugs/405733
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list