From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: Agent does not send mail immediately
Date: 02 Feb 2001 17:45:57 -0500 [thread overview]
Message-ID: <5br91gk8ka.fsf@avocet.cs.rochester.edu> (raw)
In-Reply-To: <87k878afmg.fsf@pcgboerrigter.i2c-systems.com> (Gerd Boerrigter's message of "02 Feb 2001 23:25:21 +0100")
Gerd Boerrigter <gerd.boerrigter@gmx.net> writes:
> But if I send a mail, I like to use my local sendmail instead of the
> agent. I think there is no predefined way to do that. Is there a
> suitable hook, to set `message-send-mail-function' back to the
> original value? Or is it better to modify `gnus-agentize' or
> `gnus-agent-send-mail' to get the desired behavior? I am not sure,
> what to do.
(if (and (boundp 'gnus-agent-send-mail-function)
gnus-agent-send-mail-function) ;; agentized?
(setq message-send-mail-function gnus-agent-send-mail-function)
(setq gnus-agent-send-mail-function message-send-mail-function))
This code works for me.
> BTW, I am not sure if the docstring for 'gnus-agentize' is still
> correct regarding the modified variables. It seems that
> `gnus-before-startup-hook' and `gnus-post-method' are not modified.
> Instead `gnus-setup-news-hook' is.
Fixed.
ShengHuo
--
(setq gnus-posting-styles '((".*" (signature-file "~/.signature"))))
next prev parent reply other threads:[~2001-02-02 22:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-02 22:25 Gerd Boerrigter
2001-02-02 22:45 ` ShengHuo ZHU [this message]
2001-02-04 13:20 ` Gerd Boerrigter
2001-02-04 14:38 ` ShengHuo ZHU
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=5br91gk8ka.fsf@avocet.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/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.
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 NNTP newsgroup(s).