| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
in envelope.EditCommand: headers that the user wants to edit in the $EDITOR,
should be present (with empty values) in the template.
Moreover, only those which already have values are removed
from the envelope. fixes #390
|
|
|
|
|
|
| |
this moves the construction of the tempfile content
and edit_only_body flag before the call to the pre-translate-hook.
Also make the setter more explicit, code readability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If any headers are to be edited along with the body, then put a
separating empty newline between headertext and body. This is the
default; self.edit_only_body==False. Thus, in the callback function,
the call to parse_template() will have only_body=False. The parsing
regexp then picks up an empty line as separating headerlines from
body. Though, if there is no empty line there, the first
non-header-look line will belong to the body ("\n?" in the regexp).
If no headers are to be edited, we set self.edit_only_body to True.
This is passed on to parse_template(), which then will not do any
regexp parsing, but just let the whole template become the body.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This moves the addition of a Date header from Envelope.construct_mail
to the envelope handling commands. This allows us to store
mails locally that contain this timestamp, but send out mails
that do not so that the MTA, that will append its own timestamp,
doesn not create a second entry.
issue #326
|
| |
|
|
|
|
| |
turned on by default and off when called from global.ComposeCommand.
|
|
|
|
|
| |
that just passes its value on to globals.EditCommand
issue #287
|
|
|
|
|
| |
in account.send_mail and use
call/errbacks in envelope accordingly
|
|
|
|
| |
twisted includes tools for handling threaded code nicely. Use it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Consistently use module functions instead.
Introduce a non-default log format that replaces the logger name with the module
name.
Cf issue #170.
Closes #231.
|
|
|
|
|
| |
c/p error: forgot to rename SentCommand to SaveCommand,
which resulted in two different classes with the same name.
|
|
|
|
|
|
| |
this fixes an issue with email parts showing up
in envelope.attachments instead of Attachment objects
because the new envelope.attach method wasnt used before.
|
|
|
|
|
|
|
|
| |
this also implements the feature that
uses the 'signature_as_attachment' account option:
if set to False, the signature file will be appended
to the body text (if its mimetype is text).
closes #173
|
|
|
|
|
| |
this saves the current envelope as mail to the draft mailbox
of the account read from the From-header or your default one.
|
| |
|
|
|
|
| |
this finalizes issue #135
|
|
|
|
| |
issue #135
|
|
|
|
| |
issues #135 #163
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is to warn the user before re-sending
an already sent message in case the envelope buffer
was not closed because it was the last remaining buffer.
|
|/
|
|
|
| |
If an AttachCommand is constructed by hand it's possible that `path` is unset.
Immediately abort in that case.
|
|
|
|
|
|
| |
`set --append K V` in envelope mode
will append the new K-header value V.
(defaults to overwrite)
|
|
|
|
| |
issue #146
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
alot/commands/envelope.py
|
| | |
|
| |
| |
| |
| |
| |
| | |
forgot to remove unnecessary `decode_header` calls
for headers stored in `Envelope.headers`, which
now contains decoded unicode strings directly.
|
|\| |
|
| |
| |
| |
| |
| | |
This is now done only once, in Envelope.construct_mail,
just before sending out a message.
|
| | |
|
|/
|
|
| |
Solves an issue with readthemanual.org builds
|
| |
|
|
|
|
| |
issue #139
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|