It was working fine.  Is is possible that port 25 have been blocked by the
server admin?

David E Jones wrote:
> 
> 
> It looks like you don't have an SMTP server setup. OFBiz requires an
> external SMTP server for sending outgoing emails.
> 
> For more info there are some helpful docs here:
> 
> http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide
> 
> -David
> 
> 
> EPaulson wrote:
>> --------------------------------------------------------------------------------
>> 
>> 2007-07-10 19:54:23,854 (http-207.218.230.228-443-Processor5) [     
>> EmailServices.java:241:ERROR] 
>> ---- exception report
>> ----------------------------------------------------------
>> Email message that could not be sent to [EMAIL PROTECTED] had context:
>> [EMAIL PROTECTED], sendCc=null, sendBcc=null,
>> [EMAIL PROTECTED], locale=en_US, body=
>> <html>
>> <head>
>> </head>
>> <body>
>>   <div>This email is in response to your request to have a new password
>> sent
>> to you.</div>
>>   <br/>
>>   <div>Your new password is "auto7353"</div>
>> </body>
>> </html>
>> , contentType=text/html, subject=MySite.com - Password Reminder (),
>> partyId=null]
>> Exception: javax.mail.MessagingException
>> Message: Could not connect to SMTP host: localhost, port: 25
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: java.net.ConnectException
>> Message: Connection refused
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.net.ConnectException: Connection refused
>> java.net.PlainSocketImpl.socketConnect(Native Method)
>> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>> java.net.Socket.connect(Socket.java:464)
>> java.net.Socket.connect(Socket.java:414)
>> com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
>> com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
>> javax.mail.Service.connect(Service.java:275)
>> javax.mail.Service.connect(Service.java:156)
>> javax.mail.Service.connect(Service.java:105)
>> org.ofbiz.content.email.EmailServices.sendMail(EmailServices.java:232)
>> sun.reflect.GeneratedMethodAccessor35338.invoke(Unknown Source)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:113)
>> org.ofbiz.content.email.EmailServices.sendMailFromScreen(EmailServices.java:450)
>> sun.reflect.GeneratedMethodAccessor39453.invoke(Unknown Source)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:91)
>> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:53)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:340)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
>> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:113)
>> org.ofbiz.securityext.login.LoginEvents.emailPassword(LoginEvents.java:293)
>> org.ofbiz.securityext.login.LoginEvents.forgotPassword(LoginEvents.java:105)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:409)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:242)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:534)
>> 
>> 
>> Scott Gray wrote:
>>> You'd be best to get the log and send that to the list, the on screen
>>> error
>>> message doesn't really mean much.
>>>
>>> Regards
>>> Scott
>>>
>>> On 11/07/07, EPaulson <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Whenever a registered customer uses the "email password" function on my
>>>> site,
>>>> they get this error message:
>>>>
>>>> The Following Errors Occurred:
>>>>
>>>>
>>>> Error occurred: unable to email password. Please try again later or
>>>> contact
>>>> customer service.
>>>>
>>>> I imagine it could be a number of things causing this error, but any
>>>> advice
>>>> on narrowing it down is appreciated.  It was working fine until a
>>>> couple
>>>> weeks ago.
>>>>
>>>> Thanks,
>>>> Erik
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Email-Password-Function-Not-Working-tf4059099.html#a11531633
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Email-Password-Function-Not-Working-tf4059099.html#a11532833
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to