I am trying to establish a connection to a servlet running on tomcat from inside my 
custom mailet. I am using httpClient package to create a filePost object to send to 
the servlet. It seems that nothing is happening when I create the object.
Could someone tell me if it is possible to establish an http connection from inside a 
mailet?

Hi Karine,


With HttpClient, you have to do more than just create the object for it to connect. You need to call... openSession() ? or openConnection() or something like that. Then it will begin the HTTP transaction. It doesn't have anything to do with being in a mailet, it should work exactly as normal.

Kenny


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to