Hi Vinay

Please, test the e-mail configurations with command: [dspace]/bin/dspace test-email

Sometimes the problem is in connection with Gmail (the Gmail block the connection with DSpace) and not with DSpace configuration.

Regards

Rodrigo


On 10 July 2014 08:39, Vinay Kumar Sharma <vinaynyou@gmail.com> wrote:
Dear Sir,

Thanks for the reply, it would be good if it could be included  in "InstallingDSpace->Advanced Instalation->Using Gmail".
But still It is not working.
regards
Vinay


On Thu, Jul 10, 2014 at 2:39 PM, royopa <royopa@gmail.com> wrote:

Hi Vinay

Try remove the line "mail.server.port = 25", see the article:


Hilton

I find it interesting to put this information in the DSpace documentation, which category do you suggest?

InstallingDSpace->Advanced Instalation->Using Gmail as mail server or InstallingDSpace->Installation Instructions->Using Gmail as mail server?

Regards

Rodrigo


On 10 July 2014 05:50, Hilton Gibson <hilton.gibson@gmail.com> wrote:
Hi Sunil

Is this documented officially?

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa



On 10 July 2014 10:17, sunil sharma <koha.sunil007@gmail.com> wrote:
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 <vinaynyou@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

mail.server.username = vinaynyou@gmail.com

mail.server.password = password123

mail.server.port = 25

mail.from.address = vinaynyou@gmail.com

feedback.recipient = vinaynyou@gmail.com

mail.admin = vinaynyou@gmail.com

alert.recipient = vinaynyou@gmail.com

registration.notify = vinaynyou@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

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

Cocoon stacktrace [show]

Java stacktrace [show]

Java full stacktrace [show]

The Manakin interface of the DSpace 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


------------------------------------------------------------------------------
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



--




--
Rodrigo Prado de Jesus
http://about.me/royopa
royopa@gmail.com