Hello,

It would help if you showed us the specific error; could you show us
results when you send test email?

[dspace]/bin/dspace test-email

While you are at it, perhaps you could also follow through Stuart's
post [1] and see if that works out for you.

[1] http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace/

Lighton Phiri
http://lightonphiri.org


On 24 May 2013 11:55, SanjibKumarDeka <[email protected]> wrote:
> Hi Gibson,
>
> Thank you for your reply. My server OS is RHEL 6.4. So, are the steps same
> for RHEL as mentioned in the provided link ?
>
> Regards,
> sanjib
>
>
> On Fri, May 24, 2013 at 3:14 PM, Hilton Gibson <[email protected]>
> wrote:
>>
>> Hi Sanjib
>>
>> Please read the notes here.
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S07
>> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Install_Dspace/S04#Email
>>
>> Regards
>>
>> hg
>>
>>
>> On 24 May 2013 11:33, SanjibKumarDeka <[email protected]> wrote:
>>>
>>> HI,
>>>
>>> I'm using DSpace 3.1 with xmlui interface. When I give email address for
>>> new user registration, it just back with the message <* Unable to send email
>>> to this address.>.  I'm using <smtp.gmail.com> as mail server. I did the
>>> following email settings in the </dspace/config/dspace.cfg>. After that I
>>> restart tomcat.  Should I need to change  <dspace.cfg> in the directory
>>> <dspace-3.1-src-release/ dspace/config/> also ?
>>>
>>> May I request you to kindly rectify the problem please.
>>>
>>> With regards,
>>> sanjib k deka
>>>
>>> #### Email settings ######
>>>
>>> # SMTP mail server
>>> mail.server = smtp.gmail.com
>>>
>>> # SMTP mail server authentication username and password (if required)
>>> mail.server.username = [email protected]
>>> mail.server.password = aarhee0102
>>>
>>> # SMTP mail server alternate port (defaults to 25)
>>> mail.server.port = 25
>>>
>>> # From address for mail
>>> mail.from.address = [email protected]
>>>
>>> # Currently limited to one recipient!
>>> feedback.recipient = [email protected]
>>>
>>> # General site administration (Webmaster) e-mail
>>> mail.admin = [email protected]
>>>
>>> # Recipient for server errors and alerts
>>> alert.recipient =
>>>
>>> # Recipient for new user registration emails
>>> registration.notify =
>>>
>>> # Set the default mail character set. This may be overridden by providing
>>> a line
>>> # inside the email template "charset: <encoding>", otherwise this default
>>> is used.
>>> mail.charset = UTF-8
>>>
>>> # A comma-separated list of hostnames that are allowed to refer browsers
>>> to email forms.
>>> # Default behaviour is to accept referrals only from dspace.hostname
>>> mail.allowed.referrers = localhost
>>>
>>> # Pass extra settings to the Java mail library. Comma-separated, equals
>>> sign between
>>> # the key and the value. For example:
>>> mail.extraproperties = mail.smtp.socketFactory.port=465, \
>>>
>>> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
>>>                        mail.smtp.socketFactory.fallback=false
>>>
>>> # An option is added to disable the mailserver. By default, this property
>>> is set to false
>>> # By setting mail.server.disabled = true, DSpace will not send out
>>> emails.
>>> # It will instead log the subject of the email which should have been
>>> sent
>>> # This is especially useful for development and test environments where
>>> production data is used when testing functionality.
>>> #mail.server.disabled = false
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>
>>
>>
>>
>> --
>> Hilton Gibson
>> Systems Administrator
>> JS Gericke Library
>> Room 1025C
>> Stellenbosch University
>> Private Bag X5036
>> Stellenbosch
>> 7599
>> South Africa
>>
>> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
>> http://library.sun.ac.za
>> http://scholar.sun.ac.za
>> http://ar1.sun.ac.za
>> http://aj1.sun.ac.za
>
>
>
> ------------------------------------------------------------------------------
> 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

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