Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Sending mail via Gnus if Gnus is not running (?)
@ 2004-10-11 16:25 Edi Weitz
       [not found] ` <873c0l6vli.fsf@inspiron.nicundtas.de>
  0 siblings, 1 reply; 2+ messages in thread
From: Edi Weitz @ 2004-10-11 16:25 UTC (permalink / raw)


Hi!

I think that Gnus' facility for sending email (the one I get if I hit
the m key) is much nicer than the Emacs default via M-x mail - I can
attach files, non-ASCII characters like umlauts are taken care of, and
so on. However, I'm wondering how to access this functionality while
Gnus is not running. Is it possible to get this from outside of Gnus
somehow?

Thanks,
Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq "spamtrap@agharta.de" 5) "edi")


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sending mail via Gnus if Gnus is not running (?)
       [not found]   ` <i7breiw75p.fsf@hilbert.math.albany.edu>
@ 2004-11-01  4:22     ` Floyd L. Davidson
  0 siblings, 0 replies; 2+ messages in thread
From: Floyd L. Davidson @ 2004-11-01  4:22 UTC (permalink / raw)


William F Hammond <hammond@csc.albany.edu> wrote:
>"Tassilo Horn" <heimdall@uni-koblenz.de> writes:
>
>>> I think that Gnus' facility for sending email (the one I get if I hit
>>> the m key) is much nicer than the Emacs default via M-x mail - I can
>>> attach files, non-ASCII characters like umlauts are taken care of, and
>>> so on. However, I'm wondering how to access this functionality while
>>> Gnus is not running. Is it possible to get this from outside of Gnus
>>> somehow?
>>
>> M-x gnus-msg-mail
>
>How can this function be used with GNU Emacs from a shell script?
>(Through google I found how it can be done via xemacs's "gnuclient";
>is there something like that?)

> From a shell script will be difficult if by that you mean a batch
mode script.  It could be done, but just the thought of writing the
code to do it makes my head spin...

But if you mean is it possible to call that functionality up for
interactive use, it is!  I use XEmacs, so my examples will be
for that, but it should work equally well with GNU's Emacs.

You of course must have the Gnus package installed and configured.
Then you can do

       xemacs -f gnus-msg-mail

And XEmacs will come up in a buffer just as if you had been in
XEmacs and executed M-x gnus-msg-mail.

If you have an xemacs server running (it has executed gnuserv-start),
you can do the same using gnuclient,

       gnuclient -f gnus-msg-mail

-- 
FloydL. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-01  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 16:25 Sending mail via Gnus if Gnus is not running (?) Edi Weitz
     [not found] ` <873c0l6vli.fsf@inspiron.nicundtas.de>
     [not found]   ` <i7breiw75p.fsf@hilbert.math.albany.edu>
2004-11-01  4:22     ` Floyd L. Davidson

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).