could it be your provider or network is blocking port 25 connections through apps other than the standard email app used? i.e. your company might block port 25 if not being accessed by LotusMail or Outlook.
-----Original Message----- From: Mike Peremsky [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 04, 2007 11:28 AM To: users@tomcat.apache.org Subject: Help required setting up smtp server I followed the example in the Tomcat JNDI docs on setting up and sending an email (C:\apache-tomcat-5.5.23\webapps\tomcat-docs\jndi-resources-howto.html) but am still receiving a javax.mail.MessagingException: Could not connect to SMTPhost: localhost, port: 25 The strange thing is that I set the mail.smtp.host=mailhost in the <resource> definition. --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]