Title: Message
You've set the mail server to be "smtp.localhost" where it should be just "localhost". It'll fail then, because your SMTP server doesn't know where to relay to, and after you set that up, it'll fail because your SMTP server isn't trusted.
 
Hope that's enough for you to keep asking us about how to complete coding your SPAM tool,
 
 
Juan Pablo Lorandi
Chief Software Architect
Code Foundry Ltd.

Barberstown, Straffan, Co. Kildare, Ireland.
Tel: +353-1-6012050  Fax: +353-1-6012051
Mobile: +353-86-2157900
www.codefoundry.com
 
Disclaimer:
 
Opinions expressed are entirely personal and bear no relevance to opinions held by my employer.
Code Foundry Ltd.'s opinion is that I should get back to work.
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]] On Behalf Of ssmtech
Sent: Thursday, February 20, 2003 9:21 AM
To: [EMAIL PROTECTED]
Subject: Connecting Microsoft IIS web server to J2EE application server

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

Reply via email to