GNU bug report logs - #75628
31.0.50; Error sending mail using SMTP - base64 encoding fails

Previous Next

Package: emacs;

Reported by: Ingo Brunberg <ingo_brunberg <at> web.de>

Date: Fri, 17 Jan 2025 10:20:02 UTC

Severity: normal

Tags: fixed

Found in version 31.0.50

Fixed in version 31.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ingo Brunberg <ingo_brunberg <at> web.de>
Cc: 75628 <at> debbugs.gnu.org
Subject: bug#75628: 31.0.50; Error sending mail using SMTP - base64 encoding fails
Date: Fri, 17 Jan 2025 14:55:55 +0200
> Date: Fri, 17 Jan 2025 10:18:52 +0000
> From:  Ingo Brunberg via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> When I try to send mail with emacs using SMTP, I get error "Multibyte character
> in data for base64 encoding".
> 
> In the current code I have narrowed it down to line 637 in smtpmail.el, where an
> attempt is made to base64 encode a string containing the password which, of
> course, can contain multibyte characters.
> 
> With a simple password some time ago, I could send mail.

Thanks, but please show a complete recipe, preferably starting from
"emacs -Q".

base64 encoding indeed requires its input to be a unibyte string, but
it is impossible to guess how this failed to happen without seeing the
sequence of commands you typed to trigger the problem.




This bug report was last modified 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.