Hello vinay,

Your problem is because you mentioned wrong port no. for gmail smtp. Change
port from 25 to 587 and it works well.

i.e.

*mail.server.port = 587*


//BR
Sunil


On Thu, Jul 10, 2014 at 1:42 AM, Vinay Kumar Sharma <vinayn...@gmail.com>
wrote:

> Dear All,
>
> I have just installed Dspace 4.1 and now configuring email account in
> Dspace. In this connection following changes I have made in email settings.
> But still it is not working.
>
> ##### Email settings ######
>
>
>
> mail.server = *smtp.gmail.com <http://smtp.gmail.com>*
>
> mail.server.username = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
> mail.server.password = *password123*
>
> mail.server.port = *25*
>
> mail.from.address = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
> feedback.recipient = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
> mail.admin = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
> alert.recipient = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
> registration.notify = *vinayn...@gmail.com <vinayn...@gmail.com>*
>
>
>
> mail.extraproperties = mail.smtp.socketFactory.port=465, \
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
>
>                        mail.smtp.socketFactory.fallback=false
>
>
>
> After configuring the given changes, I have restarted the server when I
> click on feedback link it showing me following error:
>
> Go to DSpace home <http://192.168.7.3:8080/xmlui>
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>
> Cocoon stacktrace [show]
>
> Java stacktrace [show]
>
> Java full stacktrace [show]
>
> The Manakin <https://wiki.duraspace.org/display/DSPACE/Manakin> interface
> of the DSpace <http://dspace.org/> digital repository software.
>
>
>
> Can anyone please provide me the solution?
>
> Thanks & regards
>
> Vinay Sharma
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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

Reply via email to