Morning All,

I'm building an app that sends an email with attachments.  The
attachments of the email are uploaded by the users.

so my logic goes as follows:

- user uploads attachments
- when all attachments are uploaded an email is created with the
attachments.
- the email is sent
- the attachments are then deleted.


But what I'm finding is sometimes the email arrives, sometimes it
doesn't. After checking the mail logs I discovered that sometimes the
attachments were deleted before the email was sent. So I'm guessing that
the spooled email takes a little time. In that time the attachments were
deleted.

Has anyone come up against this before? What's the best way to tackle
this. Maybe a job that runs once a day to delete the attachments,
instead of deleting them after the email?

Thanks,

Pete


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to