ROCLASI wrote:Hi Kurt,
Just realise that if you let a servoy client do the sending things will be quite slow because it waits for each email to be send. And when an email can't be send for whatever reason (remote server might be busy/down or there is simply a routing issue) the email falls into a black hole.
I tend to use a seperate mailqueue table for this that a Servoy client can fill with all the emails it sends. Then I use a batchprocessor to process this queue and keep an error count and error message on each record. When a record can't be send for 3 times I mark it as disabled and won't be processed anymore (until you fixed the issue and enable it again).
This way no emails will be lost and you keep track on the ones that causes trouble and can act accordingly.
Hope this helps.
Users browsing this forum: No registered users and 21 guests