SM 9.50 JavaMail

Have anybody confirmed if the fatal design flaw in Javamail has been solved in SM 9.50?


Javamail in 9.41 delete the mails from the eventout queue before they are successfully delivered to the mail server. This means if the client fails delivery the mails will be LOST! This is in my opinion a fatal design flaw in the program logic.

Test by generate emails when Javamail is not running. Change the cfg file so javamal can't connect to a mailserver, a different port works for that. Then start it up and see the mails disappear from the eventout queue. (do not run in debug and do not have -keepmail on)


Parents Reply
  • I just tested on 9.50 myself also. And it is actually worse than I thought.

    Just starting the email process with sm -emailout WITHOUT any kind of configuration in sm.ini and ALL emails will be lost. Not even a simple check of parameters are present is done before emails are deleted from SM.


    Anyway, I am currently writing my own email client. Let med know if you would be interested in replacing HP's scsmtp or javamail components with a more reliable email client? Functionality will be matchting that of javamail just without the bug.