Hi Jimena.

Try to change mail.server.port to 465 or 587.

Regards,


Walter Blandón
Gestión Tecnológica y Proyectos
Centro Cultural Biblioteca Luis Echavarría Villegas
Universidad EAFIT, Medellín, Colombia
Carrera 49 No. 7 Sur-50, Av. Las Vegas
Tel: (57)(4)2619500 ext. 9365
http://www.eafit.edu.co/biblioteca

De: Jimena Quiroga [mailto:[email protected]]
Enviado el: viernes, 06 de septiembre de 2013 03:24 p.m.
Para: [email protected]
Asunto: [Dspace-tech] Error sending email

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<http://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<http://smtp.gmail.com>

# SMTP mail server authentication username and password (if required)
mail.server.username = 
[email protected]<mailto:[email protected]>
mail.server.password = mypassword

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

# From address for mail
mail.from.address = 
[email protected]<mailto:[email protected]>

# Currently limited to one recipient!
feedback.recipient = 
[email protected]<mailto:[email protected]>


# General site administration (Webmaster) e-mail
mail.admin = [email protected]<mailto:[email protected]>


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