[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [smtpmail.el] Encoding problem in smtpmail-send-queued-mail

From: Eli Zaretskii
Subject: Re: [smtpmail.el] Encoding problem in smtpmail-send-queued-mail
Date: Sun, 9 Dec 2001 11:35:33 +0200 (IST)

On Sun, 9 Dec 2001, Jesper Harder wrote:

> > FWIW I agree that this patch probably isn't the right thing.  The file
> > was saved using one coding system, so visiting it literally probably
> > just happens to work for latin-1.
> >
> > It seems as if `smtpmail-code-conv-from' is not set when sending
> > messages from the queue. 
> I've read the code a bit more carefully now, and I agree.  Binding
> `smtpmail-code-conv-from' is probably the right thing to do.

Could you please explain why do you think so?

The problem I see with using `smtpmail-code-conv-from' is that you
might have queued mail when `smtpmail-code-conv-from' had a different
value from what it has when you actually send the queued messages.
Could that happen?

If this really could happen, then we have two alternatives:

  - Send the queued messages without any code conversions.  This means
    reading them verbatim and sending them verbatim.  I thought this
    was what your original suggestion did, so I wonder why do you think
    now it was incorrect.

  - Record somewhere, perhaps in the index, what was the encoding used
    to write the queued messages, and then use that same encoding to
    read the file and send it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]