And in log I have: 2003-11-04 11:08:40,109 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] 2003-11-04 11:08:40,109 ERROR [STDERR] java.lang.IllegalStateException: Not connected 2003-11-04 11:08:40,109 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.checkConnected(SMTPTransport.java:1029) 2003-11-04 11:08:40,109 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:288) 2003-11-04 11:08:40,109 ERROR [STDERR] at cz.iccc.isspd.utils.Mailer.send(Mailer.java:83) 2003-11-04 11:08:40,109 ERROR [STDERR] at cz.iccc.isspd.businessobjects.schedulable.DocumentValidityKeeper.mail(DocumentValidityKeeper.java:192)
my smtp's IP address is valid, and from another application (as mail client) it accepts mails Jirka > my mail-service is: > <server> > <classpath codebase="lib" > archives="mail.jar, activation.jar, mail-plugin.jar"/> > > <mbean code="org.jboss.mail.MailService" > name="jboss:service=Mail"> > <attribute name="JNDIName">java:/Mail</attribute> > <attribute name="User"></attribute> > <attribute name="Password"></attribute> > <attribute name="Configuration"> > <!-- Test --> > <configuration> > <!-- Change to your mail server prototocol --> > <property name="mail.store.protocol" value="pop3"/> > <property name="mail.transport.protocol" value="smtp"/> > > <!-- Change to the user who will receive mail --> > <property name="mail.user" value="[EMAIL PROTECTED]"/> > > <!-- Change to the mail server --> > <property name="mail.pop3.host" value="172.26.0.21"/> > > <!-- Change to the SMTP gateway server --> > <property name="mail.smtp.host" value="172.26.0.21"/> > > <!-- Change to the address mail will be from --> > <property name="mail.from" value="[EMAIL PROTECTED]"/> > > <!-- Enable debugging output from the javamail classes --> > <property name="mail.debug" value="true"/> > </configuration> > </attribute> > </mbean> > > </server> > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user