Re: Problem with running send mail jsp example

2002-06-18 Thread Markus Colombo
It's not the answer to your question, but to make it work, you could specify the smtp host in your Servlet: Properties props = new Properties(); props.put(smtp.host, smtp_host); Session session = Session.getDefaultInstance(props, null); Message msg = new MimeMessage(session); etc... HTH Markus

RE: Domain name not IP Address in Tomcat.

2002-05-13 Thread Markus Colombo
Hi, Maybe your question is not clear enough but: if you can access http://IP-Adr:8080/myjsp.jsp and you have a domainname mapped to the IP then you can access your JSP with: http://www.mydomain.com:8080/myjsp.jsp If you want to have access with: http://www.mydomain.com/myjsp.jsp you will need

Re: ISAPI_REDIRECTOR.DLL problem: Error 500

2002-04-22 Thread Markus Colombo
Hi, Here are some additional hints for running Tomcat 4.03 with IIS5 on W2k: -I used jakarta-redirector.dll from: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/win32/ (Don't download it with Netscape) -Make sure the registry key matches the name (was

Re: SendMailServlet.class

2002-02-06 Thread Markus Colombo
Hi, Seems like you did not specify a correct host. I specify the host like this: Properties props = new Properties(); props.put(mail.host, mail.domain.ch); Session session = Session.getDefaultInstance(props, null); Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress((String)