Smtp email configuration

691 views
Skip to first unread message

Haimanot Birhanu

unread,
May 9, 2018, 7:28:09 AM5/9/18
to DSpace Technical Support
Hey everyone,

I want to set-up the smtp email configuration in the dspace 6.
So What changes were made?



Any help is appreciated,

Kind regards,
Haimanot,

Leidy Madroñero

unread,
May 9, 2018, 8:58:37 AM5/9/18
to DSpace Technical Support
Hello

Yo me he guiado basándome en este post: http://dspacegeek.blogspot.com.co/2016/10/configure-gmail-with-dspace.html

Espero le sea útil.

Un saludo, lady.

Haimanot Birhanu

unread,
May 10, 2018, 3:04:29 AM5/10/18
to DSpace Technical Support
Hey,

This doesn't work for me so any suggestion?

Tim Donohue

unread,
May 10, 2018, 10:21:00 AM5/10/18
to Haimanot Birhanu, DSpace Technical Support
Hello,

DSpace SMTP settings are described in the documentation here:
https://wiki.duraspace.org/display/DSDOC6x/Configuration+Reference#ConfigurationReference-DSpaceEmailSettings

You can update those either in the dspace.cfg directly, or (as recommended at the top of that Configuration Reference) you can copy those settings into a local.cfg file (which will override any defaults in your dspace.cfg).

If you are specifically looking to configure DSpace to send email via *Gmail*, that can be accomplished via the following settings in your local.cfg:

# Mail Settings to support Gmail
mail.server = smtp.gmail.com 
mail.server.username = [your-gmail-username]@gmail.com
mail.server.password = [your-gmail-password]
mail.server.port = 465
mail.extraproperties = mail.smtp.socketFactory.port=465, \
                       mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
                       mail.smtp.socketFactory.fallback=false

There are also additional mail settings that are documented in the Configuration Reference (linked above) and can be found in the dspace.cfg by looking for settings starting with "mail."

Good luck,

Tim

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

Javier Távara

unread,
May 10, 2018, 10:21:14 AM5/10/18
to DSpace Technical Support
May we know what service are you trying to configure? Something like Sendgrid, Mailchannels, etc. or something local?

Javier.

Haimanot Birhanu

unread,
May 15, 2018, 2:58:08 AM5/15/18
to DSpace Technical Support

Dear Javier,

I'm trying to register users to alert or subscribe dspace items or collections.


Kind regards,
Haimanot,
Reply all
Reply to author
Forward
0 new messages