Here it goes:

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


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

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

# SMTP mail server authentication username and password (if required)
mail.server.username = [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]

# Currently limited to one recipient!
feedback.recipient = [email protected]


# General site administration (Webmaster) e-mail
mail.admin = [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



On Tue, Sep 10, 2013 at 9:16 AM, helix84 <[email protected]> wrote:

> Please, send the relevant part of your configuration file and the
> error message again.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&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