Hi Vinay
Try remove the line "mail.server.port = 25", see the article:
http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/
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 <[email protected]> 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
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://scholar.sun.ac.za
> http://bit.ly/goodir
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
>
> On 10 July 2014 10:17, sunil sharma <[email protected]> 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 <[email protected]>
>> 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 = *[email protected] <[email protected]>*
>>>
>>> mail.server.password = *password123*
>>>
>>> mail.server.port = *25*
>>>
>>> mail.from.address = *[email protected] <[email protected]>*
>>>
>>> feedback.recipient = *[email protected] <[email protected]>*
>>>
>>> mail.admin = *[email protected] <[email protected]>*
>>>
>>> alert.recipient = *[email protected] <[email protected]>*
>>>
>>> registration.notify = *[email protected] <[email protected]>*
>>>
>>>
>>>
>>> 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
>>> [email protected]
>>> 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
>> [email protected]
>> 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
> [email protected]
> 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
[email protected]
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette