-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MT,

Mighty Tornado wrote:
> It was churning for a long time and still didn't manage to send the email.
> But it left me this exception:

[snip]

> Caused by: javax.mail.MessagingException: Could not connect to SMTP host:
> smtp.gmail.com, port: 465, response: -1

- From the command-line on your server, can you telnet to
smtp.gmail.com:465? I'm wondering if you have a firewall that won't
allow you to make that connection.

>>> I heeded your advice and tried setting up Outlook Express for gmail
>>> server.
>>> This is the message that I got:
>>> The connection to the server has failed. Account: 'smtp.google.com',
>>> Server:
>>> 'smtp.google.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket
>>> Error:
>>> 10060, Error Number: 0x800CCC0E

So, it looks like this isn't a problem specific to Java. I'm guessing
that you are being blocked somewhere. Microsoft Windows versions since
2000 (at least) have had software firewalls built into them that you can
easily configure. You may also have another firewall on your network
between you and google's SMTP server. If that's the case, you'll have to
change the configuration of the firewall(s) to allow communication.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJ2z19CaO5/Lv0PARAhw7AJ0eEUTkWPr0SJkAOysnoUHAWqb7FACeItA9
Z2wwl1/F8zG5/ahCnAdNIMY=
=1Ll0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to