Files
emacs/lisp/mail
Robert Pluim 745847ba8e Support non-ascii SMTP user and password strings
The user and more importantly the password used when
authenticating SMTP connections MUST be encoded in utf-8, and
'base64-encode-string' requires unibyte strings, so call
'encode-coding-string' on them before base64 encoding them in
case they are multibyte strings.

This applies to the CRAM-MD5, LOGIN, and PLAIN auth methods.
XOAUTH2 access tokens are specified to contain only characters
in the range #x20-#x7E (SPC through ~), so utf-8 encoding is not
necessary.

See RFC 4616 and RFC 4954 (or their later updates).

* lisp/mail/smtpmail.el (smtpmail-try-auth-method): Encode user
and password using utf-8 before base64 encoding.

(Bug#75628)
2025-02-13 14:30:38 +01:00
..
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-02-09 15:56:51 +01:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00
2025-01-01 07:39:17 +00:00