emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Questions about mail, MIME, etc.
Date: Mon, 12 May 2014 09:37:37 +0800	[thread overview]
Message-ID: <8738gfepzy.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 20140511173542.GH1117@pfdstudio-air.home

Peter Davis <pfd@pfdstudio.com> writes:

> On Sun, May 11, 2014 at 11:05:30AM +0800, Eric Abrahamsen wrote:
>> Peter Davis <pfd@pfdstudio.com> writes:
>> 
>> > One more follow-on question. When I run org-mime-org-buffer-htmlize, I get a buffer in message mode with a nice MIME message almost ready to
>> > go. I have not specified org-mime-library, so it defaults to mml, as expected for gnus. But when I type C-c C-c to send the message, I get
>> > prompted for "via" with three options (which I don't remember offhand, but it was something like 'transport', 'sendmail' and 'smtp'.
>> >
>> > However, if I had previously run and quit gnus in that session, it just sends the message, badda-boom-badda-bing.
>> >
>> > Is there some minimal configuration I can add to .emacs to have the effect of running and quitting gnus to messages will send? I realize
>> > this is not so much an org-mode question, but it's related.
>> 
>> I have these variables set, I'll bet it's one or the other that makes
>> the difference (probably the second).
>> 
>> (setq mail-user-agent 'gnus-user-agent)
>> (setq message-send-mail-function 'message-send-mail-with-sendmail)
>> 
>
> Ah! Using these lines, or even just the first one, did get rid of the "via:" prompt, but the messages never got delivered, even though emacs
> said they had been sent.
>
> Then it occurred to me ... D'oh! I just added
>
> (load-file "~/.gnus.el")
>
> That worked! Sorry for the oversight.

Glad you've got it working!

      reply	other threads:[~2014-05-12  1:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 13:31 Questions about mail, MIME, etc Peter Davis
2014-05-08 14:34 ` Eric Abrahamsen
2014-05-08 15:31   ` Peter Davis
2014-05-08 16:44   ` Peter Davis
2014-05-09  1:45     ` Eric Abrahamsen
2014-05-10 23:46 ` Peter Davis
2014-05-11  3:05   ` Eric Abrahamsen
2014-05-11 17:35     ` Peter Davis
2014-05-12  1:37       ` Eric Abrahamsen [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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738gfepzy.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).