nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] When it is safe to remove an attached file

2014-03-21 11:37:34
Suppose I attach a file, /tmp/foobar.tgz, to an a Email. Can I safely
unlink /tmp/foobar.tgz after the return of "send" from whatnow or of
the return of a send command from the command line, even though the message
might still be queued for later sending?

I'm guessing that I can, since send and post do all the attachment work.

You are correct.  By the time that "send" finishes, the email has been
completely composed and the attached file is already part of the outgoing
message.

--Ken

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>