Running this command  :   /usr/local/dspace/bin/dspace test-email
gives me what is below
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: 
DSpaceKernel:org.dspace:name=a72545a6-24b6-49e9-8d14-bc78a16ed0c0,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: 
file:/usr/local/dspace/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log 
configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: 
/usr/local/dspace/config/log4j.properties

About to send test email:
 - To: [email protected]
 - Subject: DSpace test email
 - Server: awdflibrary.org

Error sending email:
 - Error: javax.mail.MessagingException: Could not connect to SMTP host: 
awdflibrary.org, port: 25;
  nested exception is:
        java.net.ConnectException: Connection refused

Please see the DSpace documentation for assistance.

On Wed, 05/22/2013 11:05 AM, helix84 <[email protected]> wrote:
> On Wed, May 22, 2013 at 12:33 PM, Henry Agbodza
> " target="_blank"><[email protected]> wrote:
> > I had this error after clicking on the Feedback link.
> > I'm using Dspace 3.1 and the mirage theme.
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 
> That means you don't have mail.allowed.referrers set correctly in dspace.cfg.
> 
> We're aware that the error message should be more helpful and have
> filed it as a bug.
> https://jira.duraspace.org/browse/DS-1467
> 
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to