SUNScholar/Prepare Ubuntu/S07/Alternatives

Back to Step 07

You can use any email server to facilitate email messaging, however if your campus does not have an email server then you can use gmail as an email gateway. See below for more details.

Using offsite Gmail server gateway
If you do not have a campus email server to use, then try using GMail as your email gateway server. See the link below for instructions. http://blog.stuartlewis.com/2009/09/05/using-gmail-with-dspace Please note: For this to work, you will have to make sure the local repository server has unrestricted access to the GMail server via your campus firewall and that all the relevant ports are open on your local server.

Gmail Help

 * https://support.google.com/mail/answer/78775?hl=en

Example "dspace.cfg" config
Contributed by: ilari.pablo@gmail.com
 * 1) Email settings ######

mail.server = smtp.gmail.com
 * 1) SMTP mail server

mail.server.username = xxxxxx@gmail.com mail.server.password = xxxxxxxx
 * 1) SMTP mail server authentication username and password (if required)

mail.server.port = 465
 * 1) SMTP mail server alternate port (defaults to 25) - CHANGED PORT FROM 25 TO 465

mail.extraproperties = mail.smtp.socketFactory.port=465, \ mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \ mail.smtp.socketFactory.fallback=false
 * 1) Pass extra settings to the Java mail library. Comma-separated, equals sign between
 * 2) the key and the value. For example:

UNCOMMENT THE LAST 3 LINES