configure SMTP mail server On Dspace

install smtp

apt-get install msmtp

open dspace.cfg

and change  these

# SMTP mail server
mail.server=smtp.gmail.com

# SMTP mail server authentication username and password (if required)
mail.server.username = your-user-name@gmail.com
mail.server.password = your-gmail-password

# Pass extra settings to the Java mail library. Comma separated, equals sign between
# the key and the value.
mail.extraproperties = mail.smtp.socketFactory.port=465, \
           mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
           mail.smtp.socketFactory.fallback=false
Advertisements

2 thoughts on “configure SMTP mail server On Dspace

  1. Why do you have to do `apt-get install msmtp` for this to work?

    I would like to be able to configure DSpace to use msmtp without having to add the username and password into the dspace.cfg – thoughts?

  2. Also I meant to click the subscribe to comments button.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s