RE: How to send an email with different principal Peter Stockel 25.Jun.09 10:03 AM a Web browser Applications Development All ReleasesAll Platforms
First of all, I agree with Tom, that this is a workable way, but you need to be aware of a couple of things.
IBM doesn't support this way of sending e-mail. On the other hand, they are backwards compatible, so the risk that they will change this functionality is small.
A server might not have a mail.box if it's configured to use more than 1 mail box. In that case, there will be numbered mail boxes starting with mail1.box, mail2.box and so on. What I usually do is check for the existence of mail.box on the server, and if that fails, I check for mail1.box instead.