Peter Davis <p...@pfdstudio.com> writes: > On Sun, May 11, 2014 at 11:05:30AM +0800, Eric Abrahamsen wrote: >> Peter Davis <p...@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!