If there is more than one message in the inbox when the script runs, the script only saves the first one as within the do_action routine, it doesn't get called again once its processed the first message. Changing it to a while loop (while we still have a message in the inbox) it doesn't save any variables when the DB save statement runs
Lil Peck - 2011-06-19 16:04:41 - In reply to message 2 from sofus comer
I wrote a script in Classic ASP that uses the jmail component to archive emails to MySQL. If you are using a Windows server with jmail, you can google for my script.