Re: make sent emails synced in imap sent folder

2016-03-07 Thread Gijs Hillenius
On  7 Mar 2016, fkq...@autistici.org wrote:

>
> When sending email in Gnus, 'sent' emails by default go into
> 'archive' folder locally.
>
> How to set sent emails to IMAP sent folder?

I use

;; Archive Sent Mail On Imap Server
(setq gnus-message-archive-method 
  '(nnimap "name-of-your-server-here"))

;; E-mail archive, per month
(setq gnus-message-archive-group
  '((if (message-news-p)
"INBOX.misc-news"
  (concat "INBOX.sent." (format-time-string "%Y-%m")

___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: make sent emails synced in imap sent folder

2016-03-07 Thread Eric Abrahamsen
fkqqrr  writes:

> When sending email in Gnus, 'sent' emails by default go into
> 'archive' folder locally.
>
> How to set sent emails to IMAP sent folder?

You can set the `gnus-message-archive-group' option to the desired
"Sent" folder. If you have more than one account you're trying to set
up, you can set that option to a function that takes one argument, a
group name, and returns the appropriate archive group. In my case:

(defun my-archiver-figure-outer (group)
  (cond ((string-match-p "nnimap\\+This-Account\\|gmane" group)
 "nnimap+This-Account:Sent")
((string-match-p "nnimap\\+That-Account" group)
 "nnimap+That-Account:Sent")))

(setq gnus-message-archive-group #'my-archiver-figure-outer)

I might be wrong, but it should also be possible to set the Gcc header
in posting styles (?).

Eric


___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


make sent emails synced in imap sent folder

2016-03-07 Thread fkqqrr

When sending email in Gnus, 'sent' emails by default go into
'archive' folder locally.

How to set sent emails to IMAP sent folder?

-- 
Whatever you are, be a good one
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english