Hello Sir,
Sorry if the question does not belong to the
Forum...
I am working on J2EE application server(and EJB application) and have installed Microsofts IIS Web server...and use JavaMail API to send emails through my application... IIS created an Default SMTP Virtual Server on my PC..."computer5"...which i want to use to send emails through it...but the problem is, if i am connected to say "Roltanet" and set the SMTP server of Roltanet(smtp.roltanet.com)..then i am able to send emails successfully,but if i am connected to "Roltanet" and use the SMTP server of IIS web server("smtp.computer5"....or smtp.localhost....) it gives me the following error.... "java.security.AccessControlException: access denied (java.net.SocketPermission smtp.localhost resolve)" What i really want to do is i want to send emails through my application using my own Mail Server.......no matter to which ISP i am connected to...it should still send emails if the SMTP server is different than provided by the ISP to which i am connected... So can you tell me how do i connect IIS with J2EE server Directly.... I have posted my question on various forums , but could not get any success.....I desparately need a solution to this issue...so please help me out.... Thanks in advance, Regards Sam |