I had this problem last week with the winsock control, at MS they know that.......

http://support.microsoft.com/support.../Q173/6/19.ASP

Ok as usual i have to find a workaround for my application that i began with the mapisession and mapimessage that are not enough versatile to change the "from:" parameter.....it's not hacking but for real business purpose.

SO, the only way to be able to change the "from: " parameter is to use the f*** winsock control that does'nt
support to send an email twice in the same session without giving "winsock address already" in use.....


If you quit the application and then reload it it will work.

THe best way to reuse it at will would be to put it in dll but, again, you can't declare it as part of a dll ('cause you need a form),


Another way would be to call the api, but i hate that bunch of fuzzy code......


Is there another way like: make an executable with a form that could be called with parameters (elegant way isn't it ?) from another program, is there a way to make an executable that would take parameters ?