Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Other JSE/JEE APIs and the fly likes Connecting Javamail through a Putty tunnel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Connecting Javamail through a Putty tunnel " Watch "Connecting Javamail through a Putty tunnel " New topic

Connecting Javamail through a Putty tunnel

Hugo Marques

Joined: Dec 06, 2011
Posts: 6
Hi everyone,

First of all, sorry for my bad english, im still practicing Let's go to the problem:

I have to connect a batch that reads my email inbox in a exchange server to do some processing. The problem is my ip range doesn't have authorization to acess the exchange server and because some security factors the admin cant grant acess to us.

Im trying to create a tunnel using putty so i could connect via SSH in a server that has authorization and using this as a tunnel i could sent my emails. So, its no working. The tunnel works, i connect via prompt using telnet but when i run the batch it gives time out. Someone has any idea what i should do?

Thnks in advance,


I agree. Here's the link:
subject: Connecting Javamail through a Putty tunnel
It's not a secret anymore!