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.