char *rmmproc = NULL;
/*
-** This program is usually called by the user's whatnowproc, but it
-** may also be called directly to send a message previously composed.
- */
-char *sendproc = NMHBINDIR"/send";
-
-/*
** This program is called after comp, et. al., have built a draft
*/
char *whatnowproc = NMHBINDIR"/whatnow";
extern char *replgroupcomps;
extern char *rmmproc;
extern char *sendmail;
-extern char *sendproc;
extern char *seq_all;
extern char *seq_beyond;
extern char *seq_cur;
to delete a message from a folder.
.RE
.PP
-.BR sendproc :
-%bindir%/send
-.RS 5
-This is the program to use by
-.B whatnow
-to actually send the message
-.RE
-.PP
.BR whatnowproc :
%bindir%/whatnow
.RS 5
^~^from <lasteditor>
^fileproc:~^Program to refile the message
^listproc:~^Program to list the contents of a message
-^sendproc:~^Program to use to send the message
.fi
.SH "SEE ALSO"
{ "listproc", &listproc },
{ "rmmproc", &rmmproc },
{ "sendmail", &sendmail },
- { "sendproc", &sendproc },
{ "whatnowproc", &whatnowproc },
{ NULL, NULL }
};
{ "pager", &defaultpager },
{ "rmmproc", &rmmproc },
{ "sendmail", &sendmail },
- { "sendproc", &sendproc },
{ "version", &version_num },
{ "whatnowproc", &whatnowproc },
{ "etcdir", &mhetcdir },
fprintf(out, "------------\n");
fclose(out);
- snprintf(buf, sizeof buf, "%s%s %s", sendproc,
+ snprintf(buf, sizeof buf, "send%s %s",
pushflg ? " -push" : "", bccdraft);
if (system(buf) != 0) {
admonish(invo_name, "Problems to send Bcc to %s",
vec[vecp++] = file;
vec[vecp] = NULL;
- execvp(sendproc, vec);
+ execvp("send", vec);
fprintf(stderr, "unable to exec ");
- perror(sendproc);
+ perror("send");
_exit(-1);
default: