From: Emanuel Berg <moasen@zoho.com>
To: help-gnu-emacs@gnu.org
Subject: Re: help with emailing buffer
Date: Wed, 31 Jan 2018 14:51:49 +0100 [thread overview]
Message-ID: <868tce87be.fsf@zoho.com> (raw)
In-Reply-To: mailman.8286.1517377470.27995.help-gnu-emacs@gnu.org
Bob Newell wrote:
> This or something like it was posted online
> some while ago (so it's not my original work
> by any means and I apologize for not knowing
> whom to credit).
But you don't send buffers that often. When you
do it, you might as well just do `compose-mail'
and then yank the buffer there.
With programming, or "From Lisp", you can send
an arbitrary mail like this:
(defun send-mail-to (to subject body)
(gnus-post-news 'post "")
(message-goto-to) (insert to)
(message-goto-subject) (insert subject)
(message-goto-body) (insert body)
(message-send-and-exit) )
--
underground experts united
http://user.it.uu.se/~embe8573
prev parent reply other threads:[~2018-01-31 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-30 11:00 help with emailing buffer Ken Stevens
2018-01-30 13:35 ` Michael Albinus
2018-01-31 4:59 ` Bob Proulx
2018-01-31 5:44 ` Bob Newell
2018-01-31 10:32 ` Ken Stevens
[not found] ` <mailman.8286.1517377470.27995.help-gnu-emacs@gnu.org>
2018-01-31 13:51 ` Emanuel Berg [this message]
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=868tce87be.fsf@zoho.com \
--to=moasen@zoho.com \
--cc=help-gnu-emacs@gnu.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).