unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Vida Gábor" <vidagabor@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 7589@debbugs.gnu.org
Subject: bug#7589: smtpmail: bad line endings in queued mails on Windows
Date: Sat, 11 Dec 2010 10:43:47 +0100	[thread overview]
Message-ID: <kod039q4od9o.fsf@gmail.com> (raw)
In-Reply-To: <83lj3x1yqx.fsf@gnu.org>

>  I think your analysis is correct.  Could you please try the patch
>  below?  If it works for you, I will install it on the Emacs 23 branch,
>  so that it will be available in the upcoming Emacs 23.3 release.

Still doesn't work. I put some (message ...) to see the value of some
variables during the execution of smtpmail-send-it and I think the
problem is possibly somewhere else.

smtpmail-code-conv-from is nil and the return value of
(coding-system-change-eol-conversion ...) is also nil right after the
function call of (set-buffer-file-coding-system ...) that you modified
in your patch.

In the body of the very first let in smtpmail-send-it, just after the
varlist, the enable-multibyte-characters is nil, and thus
smtpmail-code-conv-from is also nil. But the global vaule of
enable-multibyte-characters is t. Do you think it helps anything if I
investigate where enable-multibyte-characters is set to nil?

Here is the mail I wanted to send, the saved mail file and the trace of
SMTP:

To: vidagabor@gmail.com
Subject: probe mail
Date: Sat, 11 Dec 2010 10:02:47 +0100
Message-ID: <kod0mxocof60.fsf@ericsson.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)
Gcc: nnimap+nedu:incoming
From: "Vida Gábor" <vidagabor@gmail.com>

a
b
c

-- 
Üdv,
Gábor

------------------------------------------------------------------------------

From: =?utf-8?Q?Vida_G=C3=A1bor?= <vidagabor@gmail.com>^M
To: vidagabor@gmail.com^M
Subject: probe mail^M
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)^M
Date: Sat, 11 Dec 2010 10:03:37 +0100^M
Message-ID: <kod0lj3wof4m.fsf@gmail.com>^M
MIME-Version: 1.0^M
Content-Type: text/plain; charset=utf-8^M
Content-Transfer-Encoding: base64^M
^M
YQ0KYg0KYw0KDQotLSANCsOcZHYsDQpHw6Fib3INCg==^M

------------------------------------------------------------------------------

Process SMTP deleted
220 nedu.dyndns.org ESMTP Postfix^M
EHLO EV001A4B593FDA^M
250-nedu.dyndns.org^M
250-PIPELINING^M
250-SIZE 50000000^M
250-VRFY^M
250-ETRN^M
250-ENHANCEDSTATUSCODES^M
250-8BITMIME^M
250 DSN^M
MAIL FROM:<gabor.v.vida@ericsson.com> SIZE=401^M
250 2.1.0 Ok^M
RCPT TO:<vidagabor@gmail.com>^M
250 2.1.5 Ok^M
DATA^M
354 End data with <CR><LF>.<CR><LF>^M
From: =?utf-8?Q?Vida_G=C3=A1bor?= <vidagabor@gmail.com>^M^M
To: vidagabor@gmail.com^M^M
Subject: probe mail^M^M
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)^M^M
Date: Sat, 11 Dec 2010 10:03:37 +0100^M^M
Message-ID: <kod0lj3wof4m.fsf@gmail.com>^M^M
MIME-Version: 1.0^M^M
Content-Type: text/plain; charset=utf-8^M^M
Content-Transfer-Encoding: base64^M^M
^M^M
YQ0KYg0KYw0KDQotLSANCsOcZHYsDQpHw6Fib3INCg==^M^M
.^M
250 2.0.0 Ok: queued as A2FB814F727^M
QUIT^M
221 2.0.0 Bye^M





  reply	other threads:[~2010-12-11  9:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 23:26 bug#7589: smtpmail: bad line endings in queued mails on Windows Vida Gábor
2010-12-10 14:36 ` Eli Zaretskii
2010-12-11  9:43   ` Vida Gábor [this message]
2010-12-11 10:07     ` Eli Zaretskii
2010-12-12 19:40       ` Vida Gábor
2010-12-12 20:12         ` Eli Zaretskii
2010-12-13  8:59           ` Vida Gábor
2010-12-13 15:13             ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kod039q4od9o.fsf@gmail.com \
    --to=vidagabor@gmail.com \
    --cc=7589@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).