aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/smtp.go
Commit message (Collapse)AuthorAgeFilesLines
* Copy unsent messages to OutboxDrew DeVault2020-10-301-5/+6
| | | | | | | | | | | This patch: 1. Copies unsent messages to the outbox before attempting to deliver them with SMTP 2. Deletes those messages once they're sent, or leaves them if an error occured 3. Updates the message list to make it obvious when there are unsent messages in the outbox
* Implement JavaScript UI for attachmentsDrew DeVault2020-10-291-0/+47
| | | | | | | | | | | | | | | | This one is a bit of a doozy. A summary of the changes: - Session has grown storage for attachments which have been uploaded but not yet sent. - The list of attachments on a message is refcounted so that we can clean up the temporary files only after it's done with - i.e. after copying to Sent and after all of the SMTP attempts are done. - Abandoned attachments are cleared out on process shutdown. Future work: - Add a limit to the maximum number of pending attachments the user can have in the session. - Periodically clean out abandoned attachments?
* Set Message-Id headerJesse Olson2020-08-051-1/+2
|
* Rename project to alpsSimon Ser2020-05-131-1/+1
|
* plugins/base: support attachments in draftsSimon Ser2020-01-281-4/+54
| | | | References: https://todo.sr.ht/~sircmpwn/koushin/16
* plugins/base: edit draftsSimon Ser2020-01-241-0/+1
| | | | Note that attachments will be lost. This is a TODO.
* Add attachments support to composerSimon Ser2019-12-161-5/+44
| | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/13
* Introduce base pluginSimon Ser2019-12-161-0/+114
This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39