Subject: ++ What if attachments not found?

From: Chrysos Thanassis <[email-masked]>
Date: Fri, 20 Feb 1998 19:51:15 +0200 (EET)

Hello again.

  I seem to have omitted a crucial fact:

  You type in the attachment file name (pine finds it, so it puts its
full path name in the "Attchments" list), prepare the mail, and then
(before sending it) you ... delete (!) the files, because you don't want
them any more.

  THEN, the mail goes away, (probably because "background sending
enabled"), and afterwards you get a message about the attachment not
having been found.

  Since the "error" is discovered anyway, I think it would be better if it
was done before you sent a (halved) mail.

  Thanasis.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
43rd Law of Computing:                      | Thanasis Chrysos
                                            | Postgr. Student, Comp. Sc.     
                                            | [email-masked]
       Anything that can go wr              | http://www.csd.uch.gr/~chrysos
.signature: Segmentation violation --Core dumped

---

From: "Adam H. Kerman" <[email-masked]>
Date: Fri, 20 Feb 1998 12:23:50 -0600 (CST)

>From: Chrysos Thanassis <[email-masked]>
>Date: Fri, 20 Feb 1998 19:51:15 +0200 (EET)

>was done before you sent a (halved) mail.

Oh, now I understand. I guess when they developed the background sending code,
they didn't anticipate that a user would delete the file to be attached before
the message got into the mail queue.

What can pine do about it at this point? I believe when the "send" has been
placed in background, that the MTA has been invoked at this point. The MTA now
has control of the message, not pine.

The question becomes, are there any MTAs that have such a feature?

This is beyond the realm of my knowledge. I believe that the MTA create the
envelope receipient, not pine. Is that correct? If so, I take it that the MTA
would ignore all other headers except those necessary to create the envelope.

"Doctor, it hurts when I do this." "Well, stop doing that."

What can I tell you? Don't delete the file to be attached. I suppose you could
put it into a temporary directory in your home directory, and establish a cron
job to delete it after several hours.