From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: email ui choices?
Date: Wed, 15 Jul 2015 09:14:15 +0800 [thread overview]
Message-ID: <87lheiusrc.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87egkbt0cd.fsf@gmx.us
Rasmus <rasmus@gmx.us> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Rasmus <rasmus@gmx.us> writes:
>>
>>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>>
>>>> (setq message-send-mail-function 'message-send-mail-with-sendmail)
>>>> (setq sendmail-program "msmtp")
>>>
>>> Emacs is pretty good at talking to smtp servers. You can simply add a
>>> header like this to your message (e.g. via `gnus-posting-styles' or
>>> `message-default-headers'):
>>>
>>> X-Message-Smtp-Method: smtp smtp.email.com 465 rasmus
>>>
>>> For saving the sent mail, Gnus uses the GCC header. I don't know what
>>> you'd do in the case of plain message.el.
>>
>> I looked at my .gnus.el file, and found this:
>>
>> ;;; the following might be obviated by the X-SMTP-METHOD headers,
>> ;;; except I don't think it will work for my case: the header is
>> supposed to contain
>
> How very frustrating.... My guess is that you have got bit rot on your
> system. Better call a professional.
>
> In any case, I have moved ALL sending configuration to gnus-posting-style
> and it's brilliant. Before I was messing with hooks to change variables
> before dispatching.
>
>
> (setq gnus-posting-styles
> '(((lambda ()
> (rasmus/gnus-posting-style-identify
> '(".*") '(("To". "mymail\\.net")) nil "mymail"))
> (GCC "nnimap+mail:mymail/sent")
> (X-Message-SMTP-Method "smtp mymail.net 465 rasmus")
> (signature
> (or (ignore-errors
> (cookie (concat user-emacs-directory "signatures") "" ""))
> "Send from my Emacs"))
> (Face (gnus-random-face))
> (address "rasmus@mymail.net")
> (Organization nil)
> (eval (setq smtpmail-stream-type 'ssl)))
> ;; work email omitted
> ((lambda ()
> (rasmus/gnus-posting-style-identify
> '("gmx\\|gmane\\|sunsite\\|emacs")
> '(("To" . "rasmus@gmx\\.us"))
> '(message-news-p)
> "gmx"))
> (name "Rasmus")
> (address "rasmus@gmx.us")
> (Organization nil)
> (GCC "nnimap+mail:gmx/sent")
> (X-Message-SMTP-Method "smtp mail.gmx.com 587 rasmus@gmx.us")
> (eval (setq smtpmail-stream-type nil)))))
>
> `gnus-configure-posting-styles' is handy when changing profile OTG.
But how does this handle composing new blank messages? What does
`rasmus/gnus-posting-style-identity' do exactly?
E
next prev parent reply other threads:[~2015-07-15 1:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 0:16 email ui choices? Matt Price
2015-07-14 8:48 ` Juergen Christoffel
2015-07-14 10:51 ` Eric Abrahamsen
2015-07-14 11:10 ` Matt Price
2015-07-14 11:27 ` Eric Abrahamsen
2015-07-14 20:51 ` Matt Price
2015-07-15 1:46 ` Eric Abrahamsen
2015-07-14 22:29 ` Juergen Christoffel
2015-07-14 23:22 ` Matt Price
2015-07-14 11:35 ` Rasmus
2015-07-14 11:41 ` Eric Abrahamsen
2015-07-14 12:01 ` Rasmus
2015-07-14 14:47 ` Jorge A. Alfaro-Murillo
2015-07-15 1:14 ` Eric Abrahamsen [this message]
2015-07-15 8:56 ` Rasmus
2015-07-15 9:27 ` Eric Abrahamsen
2015-07-15 9:37 ` Rasmus
2015-07-16 3:27 ` Eric Abrahamsen
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=87lheiusrc.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.