/****************************
this code is for connecting to gmail through java program
this is throwing ConnectedTimeout exception at the commented place
please give some suggestions to solve...
Type: Posts; User: gcsekhar
/****************************
this code is for connecting to gmail through java program
this is throwing ConnectedTimeout exception at the commented place
please give some suggestions to solve...
import javax.mail.*;
import javax.mail.internet.*;
import java.util.Properties;
public class Access
{
public static void main (String args[])
{
int argc = args.length;
if (argc != 4)