[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make sent emails synced in imap sent folder
From: |
fkqqrr |
Subject: |
Re: make sent emails synced in imap sent folder |
Date: |
Thu, 10 Mar 2016 11:21:05 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Fkqqrr <fkqqrr@autistici.org> writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> fkqqrr <fkqqrr@autistici.org> 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)
>> By the way, this method will send the email again to nnimap sent
>> folder on email server?
>
> That's right, it will result in the sent mail being pushed to your imap
> server. There isn't any "automatic" connection between your SMTP server
> and your imap mail store, so you have to do the archiving yourself.
I thought the IMAP and SMTP server are 'auto-connected'.
So sent items: connect to both receiver's IMAP and my IMAP (archive)
--
Who am I? Where am I from? Where would I go?
Message not available