unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: master 1f24519 1/2: Allow storing SMTP variables when queueing mail
Date: Thu, 12 Aug 2021 14:49:49 +0200	[thread overview]
Message-ID: <87h7fun7yq.fsf@gnus.org> (raw)
In-Reply-To: <87eeazqa5e.fsf@gmail.com> (Robert Pluim's message of "Thu, 12 Aug 2021 11:34:21 +0200")

Robert Pluim <rpluim@gmail.com> writes:

>     Lars> -	(let* ((smtpmail-smtp-server (nth 1 method))
>     Lars> +	(let* ((smtpmail-store-queue-variables t)
>     Lars> +               (smtpmail-smtp-server (nth 1 method))
>     Lars>  	       (service (nth 2 method))
>     Lars>  	       (port (string-to-number service))
>     Lars>  	       ;; If we're talking to the TLS SMTP port, then force a
>
> Why is smtpmail-store-queue-variables unconditionally bound to t here?
> The user might be queuing mail, but not want to store the variables, no?

In this case, the data is from the X-Message-SMTP-Method header.  If the
user has used such a header, and is queuing the mail, then the user does
want to store the variables. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2021-08-12 12:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210723181832.28668.12066@vcs0.savannah.gnu.org>
     [not found] ` <20210723181834.5AE4C20D0A@vcs0.savannah.gnu.org>
2021-08-12  9:34   ` master 1f24519 1/2: Allow storing SMTP variables when queueing mail Robert Pluim
2021-08-12 12:49     ` Lars Ingebrigtsen [this message]
2021-08-12 18:55       ` Robert Pluim

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=87h7fun7yq.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    /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).