Postponed Emails. More...
Go to the source code of this file.
Functions | |
struct Email * | dlg_postponed (struct Mailbox *m) |
Create a Menu to select a postponed message -. | |
int | mutt_get_postponed (struct Mailbox *m_cur, struct Email *hdr, struct Email **cur, struct Buffer *fcc) |
Recall a postponed message. | |
int | mutt_num_postponed (struct Mailbox *m, bool force) |
Return the number of postponed messages. | |
SecurityFlags | mutt_parse_crypt_hdr (const char *p, bool set_empty_signas, SecurityFlags crypt_app) |
Parse a crypto header string. | |
int | mutt_prepare_template (FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend) |
Prepare a message template. | |
void | mutt_update_num_postponed (void) |
Force the update of the number of postponed messages. | |
struct MailboxView * | postponed_get_mailbox_view (struct MuttWindow *dlg) |
Extract the Mailbox from the Postponed Dialog. | |
Postponed Emails.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file lib.h.
int mutt_get_postponed | ( | struct Mailbox * | m_cur, |
struct Email * | hdr, | ||
struct Email ** | cur, | ||
struct Buffer * | fcc | ||
) |
Recall a postponed message.
[in] | m_cur | Current mailbox |
[in] | hdr | envelope/attachment info for recalled message |
[out] | cur | if message was a reply, 'cur' is set to the message which 'hdr' is in reply to |
[in] | fcc | fcc for the recalled message |
-1 | Error/no messages |
0 | Normal exit |
SEND_REPLY | Recalled message is a reply |
Definition at line 657 of file postpone.c.
int mutt_num_postponed | ( | struct Mailbox * | m, |
bool | force | ||
) |
Return the number of postponed messages.
m | currently selected mailbox |
force |
|
num | Postponed messages |
Definition at line 70 of file postpone.c.
SecurityFlags mutt_parse_crypt_hdr | ( | const char * | p, |
bool | set_empty_signas, | ||
SecurityFlags | crypt_app | ||
) |
Parse a crypto header string.
p | Header string to parse |
set_empty_signas | Allow an empty "Sign as" |
crypt_app | App, e.g. APPLICATION_PGP |
num | SecurityFlags, see SecurityFlags |
Definition at line 204 of file postpone.c.
int mutt_prepare_template | ( | FILE * | fp, |
struct Mailbox * | m, | ||
struct Email * | e_new, | ||
struct Email * | e, | ||
bool | resend | ||
) |
Prepare a message template.
fp | If not NULL, file containing the template |
m | If fp is NULL, the Mailbox containing the header with the template |
e_new | The template is read into this Header |
e | Email to recall/resend |
resend | Set if resending (as opposed to recalling a postponed msg) Resent messages enable header weeding, and also discard any existing Message-ID and Mail-Followup-To |
0 | Success |
-1 | Error |
Definition at line 483 of file postpone.c.
void mutt_update_num_postponed | ( | void | ) |
Force the update of the number of postponed messages.
Definition at line 177 of file postpone.c.
struct MailboxView * postponed_get_mailbox_view | ( | struct MuttWindow * | dlg | ) |
Extract the Mailbox from the Postponed Dialog.
dlg | Postponed Dialog |
ptr | Mailbox view |
Definition at line 212 of file functions.c.