From: Random832 <random832@fastmail.com>
To: 21733@debbugs.gnu.org
Subject: bug#21733: 25.0.50; Umlaut in address makes smtpmail-via-smtp fail
Date: Thu, 22 Oct 2015 10:00:34 -0400 [thread overview]
Message-ID: <87zizbt33x.fsf@fastmail.com> (raw)
In-Reply-To: <87si532qwd.fsf@rub.de>
Stephen Berman <stephen.berman@gmx.net> writes:
> I tried to send an email with Gnus to an address containing an umlaut
> ('ä') in the domain name, and it failed with the error "Sending failed:
> 501 Syntax error in parameters or arguments". When I tried sending the
> same email to the same address using the GMX webmail interface, it
> succeeded. A copy of the sent email showed an address containing only
> ascii characters instead of the address with the umlaut, so I assume the
> latter is aliased to the former and GMX automatically found this.
Did this address begin with "xn--" in the segment which had contained
non-ascii characters in the original, such as "xn--nt-via" for "nät"?
> It
> would be nice if smtpmail.el could do the same thing instead of erroring
> out. I can reproduce the same error using the fake address
> <stephen.berman@gmx.nät> (backtrace attached).
There is a file called punycode.el in libidn which encodes strings in
the way I mentioned above, maybe it would be worthwhile to include this
in Emacs - or at least have a hook which will use it if possible and
error out immediately (for domains containing non-ASCII characters) if
it's not present. This would be relevant to more places than just email.
This uses a command-line tool (part of libidn) to do the actual
decoding, I don't know how feasible it would be to do it in pure elisp.
next prev parent reply other threads:[~2015-10-22 14:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 9:28 bug#21733: 25.0.50; Umlaut in address makes smtpmail-via-smtp fail Stephen Berman
2015-10-22 14:00 ` Random832 [this message]
2015-10-22 14:19 ` Andreas Schwab
2015-10-22 14:46 ` Stephen Berman
2015-10-22 15:04 ` Andreas Schwab
2015-10-22 15:58 ` Stephen Berman
2015-10-22 14:27 ` Stephen Berman
2015-12-27 23:02 ` Lars Ingebrigtsen
2015-12-28 1:49 ` Lars Ingebrigtsen
2018-04-15 17:21 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zizbt33x.fsf@fastmail.com \
--to=random832@fastmail.com \
--cc=21733@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.