Here was the real message that should have been posted. The SMTP script that I included in my previous post apparently interacted with the gmane SMTP server (their NNTP service relayed my message to tomcat-user).
"Sean Dockery" <[EMAIL PROTECTED]> wrote in message news:... > I'm running out of ideas. Maybe the problem is with the SMTP connection... > > Put the following in a text file named commands.txt (without the <snip> > tags)... > > <snip> > HELO www.corridortechnology.com > MAIL FROM:[EMAIL PROTECTED] > RCPT TO:[EMAIL PROTECTED] > RCPT TO:[EMAIL PROTECTED] > DATA > Subject: Re: SendMailServlet - problem, debugging tips > > Directly connecting to the SMTP server worked!. > . > > QUIT > > </snip> > > ...then pipe this to your SMTP server via... > > telnet mail.ctg.com 25 < commands.txt > > > > "Sean Dockery" <[EMAIL PROTECTED]> wrote in message > b20vkr$1ev$[EMAIL PROTECTED]">news:b20vkr$1ev$[EMAIL PROTECTED]... > > No. The content of "name" is the parameter name--not the name of your > SMTP > > server. The content of "value" is the value of the parameter--that is, > your > > SMTP server's name. > > > > Try this instead... > > > > <parameter> > > <name>mail.smtp.host</name> > > <value>mail.ctg.com</value> > > </parameter> > > > > > > -- > > Sean Dockery > > [EMAIL PROTECTED] > > Certified Java Web Component Developer > > Certified Delphi Programmer > > SBD Consultants > > http://www.sbdconsultants.com > > > > "tomcat guy" <[EMAIL PROTECTED]> wrote in message > > 01c001c2ced8$d1465360$6601a8c0@ctg">news:01c001c2ced8$d1465360$6601a8c0@ctg... > > > It's not suppose to be the name of the mail server? > > > > > > ----- Original Message ----- > > > From: "Filip Hanik" <[EMAIL PROTECTED]> > > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > > Sent: Friday, February 07, 2003 12:18 PM > > > Subject: RE: SendMailServlet - problem, debugging tips > > > > > > > > > <parameter> > > > <name>mail.ctg.com</name> > > > <value>localhost</value> > > > </parameter> > > > > > > the name is invalid > > > > > > Filip > > > > > > -----Original Message----- > > > From: tomcat guy [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, February 07, 2003 10:15 AM > > > To: Tomcat Users List > > > Subject: Re: SendMailServlet - problem, debugging tips > > > > > > > > > All - thanks for the replies, here are the answers if I missed anything > > > please let me know! > > > > > > The SendMailServlet is in the examples, that should be mapped correctly > by > > > default, right? > > > > > > The web.xml in webapps/examples/WEB-INF is the defualt. I was assuming > > > since it came with the examples all would be good as the other servlets > > are > > > running fine... > > > > > > The logs do not seem to tell me a lot. Any suggestions? > > > > > > The mail server is running on the local machine. > > > > > > The From address is valid. > > > > > > My firewall doesn't appear to be an issue as I have tested with it > enabled > > > and disabled. > > > > > > Here is my ResourceParams for the mail/Session for localhost: > > > > > > <ResourceParams name="jdbc/EmployeeAppDb"> > > > <parameter><name>user</name><value>sa</value></parameter> > > > <parameter><name>password</name><value></value></parameter> > > > <parameter><name>driverClassName</name> > > > <value>org.hsql.jdbcDriver</value></parameter> > > > <parameter><name>driverName</name> > > > <value>jdbc:HypersonicSQL:database</value></parameter> > > > </ResourceParams> > > > <Resource name="mail/Session" auth="Container" > > > type="javax.mail.Session"/> > > > <ResourceParams name="mail/Session"> > > > <parameter> > > > <name>mail.ctg.com</name> > > > <value>localhost</value> > > > </parameter> > > > </ResourceParams> > > > <ResourceLink name="linkToGlobalResource" > > > global="simpleValue" > > > type="java.lang.Integer"/> > > > </Context> > > > > > > Thanks much! > > > Chris > > > > > > > > > ----- Original Message ----- > > > From: "Erik Price" <[EMAIL PROTECTED]> > > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > > Sent: Friday, February 07, 2003 10:29 AM > > > Subject: Re: SendMailServlet - problem, debugging tips > > > > > > > > > > > > > > > > > > chris schild wrote: > > > > > Would anyone be able to provide some debugging tips for Tomcat > > servlets? > > > > > > > > Logging. > > > > > > > > > Also, what would cause a servlet to be unavailable? > > > > > > > > If you didn't map the servlet to a URL-pattern in your web.xml. > > > > > > > > > > > > > > > > Erik > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]