Hi everybody:

I`m working with dspace 3.1, windows, jspui.

After test the email, I got the following:


Error testing email:
  - Error: javax.mail.MessagingException: Could not connec to to SMTP host:
smtp.gmail.com, port:25:
    nested exception is:
  java.net.ConnectException: Connection timed out: connect


I sent you part of the dspace.cfg file. Can somebody help me please?

Saludos!

Jimena



##### Email settings ######

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

# SMTP mail server authentication username and password (if required)
mail.server.username = repositorioin...@gmail.com
mail.server.password = mypassword

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 25

# From address for mail
mail.from.address = repositorioin...@gmail.com

# Currently limited to one recipient!
feedback.recipient = repositorioin...@gmail.com


# General site administration (Webmaster) e-mail
mail.admin = repositorioin...@gmail.com


# Recipient for server errors and alerts
alert.recipient = ${mail.alert.recipient}

# Recipient for new user registration emails
registration.notify = ${mail.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 = ${dspace.hostname}

# If you are connecting to a TLS/SSL protected email server, enable this
setting,
# and possibly extra settings below
mail.ssl.enable = true


# 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
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to