× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



SNDEMAIL writes the e-mail message to /tmp, then hands it off to the QtmmSendMail API. That API, after scrutinizing it's parameters, passes the information to a background job that will remove the file from /tmp and put it into the mail queue.

So there's a tiny period of time between the time you call SNDEMAIL and the time the background job removes the file where it should continue to reside in /tmp -- but that should be a very small amount of time.

The fact that a file is missing from /tmp does NOT guarantee that it was delivered successfully. The fact that a file remains in /tmp is not a guarantee that it was not delivered. It all depends on what the error is.

However, it's safe to assume that if a file remains in /tmp for more than a few minutes, *something* is wrong, and PROBABLY means that those files are no longer needed.


John McKee wrote:
We have a program that sends multiple emails in the event of an error. Each
email is to one person. After reading the thread about files in /tmp, I
checked our system. There are 11 files there. But, all are sent to the same
address. Since the program thst sends the emails is sending to other addresses
as well, I am assuming that the reason these are still here is that the email
could not be sent. Is that a valid assumption? Is there any other reason
these specific emails would remain? The email address used is NOT the last
email sent by the CL, if that makes any difference.

John McKee



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.