* Re: Gnus Agent and From address of email
[not found] <mailman.5361.1456160177.843.help-gnu-emacs@gnu.org>
@ 2016-02-23 1:36 ` Lars Magne Ingebrigtsen
2016-02-23 12:58 ` Phillip Lord
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2016-02-23 1:36 UTC (permalink / raw)
To: Phillip Lord; +Cc: help-gnu-emacs
phillip.lord@russet.org.uk (Phillip Lord) writes:
> I change the "from" address for my email a lot. One problem is that when
> using gnus agent, this does not appear to work -- that is the from field
> is set to whatever user-mail-address is configured to at the time that
> the queue is sent, NOT at the time that the email was sent (to the
> queue). This makes offline email less useful as I can only send email
> messages with one from field at a time.
Hm... looking at the code, I can't see any place where it removes From:
headers when sending the Agent queue, but I haven't actually tested it,
so I may be missing something.
Could you try `M-x debug-on-entry RET message-send-and-exit', try to
send something, and then go to the sending buffer to see what's in that?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Gnus Agent and From address of email
2016-02-23 1:36 ` Gnus Agent and From address of email Lars Magne Ingebrigtsen
@ 2016-02-23 12:58 ` Phillip Lord
0 siblings, 0 replies; 3+ messages in thread
From: Phillip Lord @ 2016-02-23 12:58 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: help-gnu-emacs
Lars Magne Ingebrigtsen <lmi@gnus.org> writes:
> phillip.lord@russet.org.uk (Phillip Lord) writes:
>
>> I change the "from" address for my email a lot. One problem is that when
>> using gnus agent, this does not appear to work -- that is the from field
>> is set to whatever user-mail-address is configured to at the time that
>> the queue is sent, NOT at the time that the email was sent (to the
>> queue). This makes offline email less useful as I can only send email
>> messages with one from field at a time.
>
> Hm... looking at the code, I can't see any place where it removes From:
> headers when sending the Agent queue, but I haven't actually tested it,
> so I may be missing something.
>
> Could you try `M-x debug-on-entry RET message-send-and-exit', try to
> send something, and then go to the sending buffer to see what's in that?
I've done this, and the from field appears to be set correctly both
inside and outside of the agent. So I've checked the behaviour again
with the agent. It looks like I may have been confused by the log
messages from msmtp, and that gnus is actually doing the right thing.
Oops, sorry for time waste!
Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
* Gnus Agent and From address of email
@ 2016-02-22 16:56 Phillip Lord
0 siblings, 0 replies; 3+ messages in thread
From: Phillip Lord @ 2016-02-22 16:56 UTC (permalink / raw)
To: help-gnu-emacs
I change the "from" address for my email a lot. One problem is that when
using gnus agent, this does not appear to work -- that is the from field
is set to whatever user-mail-address is configured to at the time that
the queue is sent, NOT at the time that the email was sent (to the
queue). This makes offline email less useful as I can only send email
messages with one from field at a time.
Or am I doing something wrong?
I am sending email with msmtp using sendmail-sent-it.
Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-23 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.5361.1456160177.843.help-gnu-emacs@gnu.org>
2016-02-23 1:36 ` Gnus Agent and From address of email Lars Magne Ingebrigtsen
2016-02-23 12:58 ` Phillip Lord
2016-02-22 16:56 Phillip Lord
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.