Setting Gmail as a SMTP server requires some specific configuration parameters. This is best described here:
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Wed, Apr 17, 2013 at 10:43 AM, jayachandra B <jayachandra1...@gmail.com> wrote: > Since I don't have mail server in my system, I have kept SMTP host: > smtp.gmail.com in dspace.cfg file. In the error log it is showing the > following message > > javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com; > nested exception is: > java.net.UnknownHostException: smtp.gmail.com > at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280) > at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) > at javax.mail.Service.connect(Service.java:297) > at javax.mail.Service.connect(Service.java:156) > at javax.mail.Service.connect(Service.java:105) > at javax.mail.Transport.send0(Transport.java:168) > at javax.mail.Transport.send(Transport.java:98) > at org.dspace.core.Email.send(Email.java:366) > at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262) > at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222) > at > org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:67) > at > org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:260) > at > org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172) > at > org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115) > at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) > at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > at > org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > Caused by: java.net.UnknownHostException: smtp.gmail.com > at java.net.AbstractPlainSocketImpl.connect(Unknown Source) > at java.net.PlainSocketImpl.connect(Unknown Source) > at java.net.SocksSocketImpl.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at java.net.Socket.connect(Unknown Source) > at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232) > at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189) > at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250) > ... 35 more > > > On Wed, Apr 17, 2013 at 1:51 PM, helix84 <heli...@centrum.sk> wrote: >> >> On Wed, Apr 17, 2013 at 9:59 AM, jayachandra B >> <jayachandra1...@gmail.com> wrote: >> > I have installed dspace 1.8.2. When I try to add new user, I am getting >> > internal system error please help me out. >> >> What is the error message or the complete stack trace of the error? >> You can usually find it in the log. >> >> More details on finding the stack trace are here: >> https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error >> >> >> Regards, >> ~~helix84 >> >> Compulsory reading: DSpace Mailing List Etiquette >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > > > > -- > Regards > Jayachandra ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette