if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) {
address_list_wipe(&adr);
- CLEARLINE(main_w, LINES - 1);
mutt_message (p ? _("Message not bounced.") : _("Messages not bounced."));
return;
}
- CLEARLINE(main_w, LINES - 1);
-
if (cur)
ret = mutt_bounce_message (fp, cur->hdr, adr);
else {
return -1;
}
-#ifdef USE_NNTP
- if ((flags & SENDNEWS)) {
- /* in case followup set Newsgroups: with Followup-To: if it present */
- if (!env->newsgroups && curenv &&
- m_strcasecmp(curenv->followup_to, "poster"))
- env->newsgroups = m_strdup(curenv->followup_to);
- }
- else
-#endif
- {
- if (parent) {
- if (mutt_fetch_recips (env, curenv, flags) == -1)
+ if (parent) {
+ if (mutt_fetch_recips (env, curenv, flags) == -1)
+ return -1;
+ } else {
+ for (i = 0; i < idxlen; i++) {
+ if (idx[i]->content->tagged
+ && mutt_fetch_recips (env, idx[i]->content->hdr->env,
+ flags) == -1)
return -1;
}
- else {
- for (i = 0; i < idxlen; i++) {
- if (idx[i]->content->tagged
- && mutt_fetch_recips (env, idx[i]->content->hdr->env,
- flags) == -1)
- return -1;
- }
- }
-
- if ((flags & SENDLISTREPLY) && !env->to) {
- mutt_error _("No mailing lists found!");
+ }
- return (-1);
- }
+ if ((flags & SENDLISTREPLY) && !env->to) {
+ mutt_error _("No mailing lists found!");
- mutt_fix_reply_recipients (env);
+ return (-1);
}
+
+ mutt_fix_reply_recipients (env);
mutt_make_misc_reply_headers (env, Context, curhdr, curenv);
if (parent)
char prefix[STRING];
int rc;
-#ifdef USE_NNTP
- if (flags & SENDNEWS)
- set_option (OPTNEWSSEND);
- else
- unset_option (OPTNEWSSEND);
-#endif
-
if (check_all_msg (idx, idxlen, cur, 0) == -1) {
nattach = count_tagged (idx, idxlen);
if ((parent = find_parent (idx, idxlen, cur, nattach)) == NULL)