In my experience, the most common cause for mail failures, assuming there is a server available on the correct port, is denial of relays.
Make sure your remote server is configured to deliver mail using the FROM and TO addresses that you are using. I would check the sendmail logs on the server, that should give you the exact error message. You could also simply telnet to port 25 on the remote server and type in the sendmail commands and check the responses for problems. John > -----Original Message----- > From: Soporte [mailto:soporte@;interaccess.com.pe] > Sent: Monday, October 21, 2002 7:15 PM > To: Tomcat Users List > Subject: Re: Java Mail > > > I don't think so because I have POP3 and SMTP via email client (NS or > Outlook Express). > I can also execute SendMailText.jsp from server A but using > the account > and smtp from server B. > I tried also using IP numbers instead of using names, thinking the > server could not resolve the names, > but it also didn't work. > > Wilhelm > > > Shapira, Yoav wrote: > > >Hi, > >Perhaps you don't have an SMTP server installed on server B? > > > >Yoav Shapira > >Millennium ChemInformatics > > > > > > > > > >>-----Original Message----- > >>From: Soporte [mailto:soporte@;interaccess.com.pe] > >>Sent: Saturday, October 19, 2002 12:15 PM > >>To: Tomcat Users List > >>Subject: Java Mail > >> > >>If some help could help .. > >> > >>Installations Tomcat 4.0.3 and JDK 1.4 on both servers. > >>I am getting the following error after trying to send a message. > >>It works (SendTextMail.jsp) on server A but not on server B > >> > >>Server B error : "No provider for smtp" > >> > >>Perhaps this error is very well known ? > >> > >>I can execute SendMailText.jsp on server A using smtp from server B > >>It is the first time that I have problems with the Java > Mail API and I > >> > >> > >am > > > > > >>sure it is not the JSP file. > >> > >>Thanks, > >>Wilhelm > >> > >> > >> > >> > >> > >> > >>-- > >>To unsubscribe, e-mail: <mailto:tomcat-user- > >>[EMAIL PROTECTED]> > >>For additional commands, e-mail: <mailto:tomcat-user- > >>[EMAIL PROTECTED]> > >> > >> > > > > > > > >------------------------------------------------------------- > ----------- > > > >This e-mail, including any attachments, is a confidential > business communication, and may contain information that is > confidential, proprietary and/or privileged. This e-mail is > intended only for the individual(s) to whom it is addressed, > and may not be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended recipient, > please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > > > > > >------------------------------------------------------------- > ----------- > > > >-- > >To unsubscribe, e-mail: > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > >For additional commands, e-mail: > <mailto:tomcat-user-help@;jakarta.apache.org> > > > > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
