SorenR wrote:What version of hMailServer ?
OK, I see newer one, I will upgrade soon and will check if this bug is corrected. But I suspect no, because it was not reported yet.
This partial line...
if (WshShell.Run("create_a_list_of_message_IDs_to_delete (querying database)" + rcpt, 0, true))
I assume you are running some sort of external job to query something that you cannot do with the COM API ??
Yes. It was easier for me than struggling in JS. In fact I wrote a complex application for spam and virus scanning, greylisting, bandwidth limiting, autoreplies etc. I used and improved it for more than 10 years with xMailserver
but now I migrated to hMail because of lack of IMAP in xMail. The code for removing expired messages on selected accounts is a part of my application. I am trying to adapt it to hMail without unneccessary additional coding. For adaptation I had to use some useful undocumented hMail features I found in sources (e.g. SMTP 4xx reject code in OnSMTPData, oClient.HELO property etc.) and I hope they will not disappear in next versions.
Oh.. Make sure your line to line are either long (UID) or long long (ID)
OK, I will do my best.
Code properly embedded in "Code" tags..
Yes, I learnt it. Sorry, I realized to late to correct it.