Hi Liss,

 

If you're using 1.4.1, then this is probably caused when your mail server 
refuses to send email to a particular email address.

 

It is caused by this bit of code in 
src/org/dspace/app/webui/servlet/RegisterServlet.java:

 

if (e.getNextException() instanceof SMTPAddressFailedException)

{

   // If we reach here, the email is email is invalid for the SMTP server

   log.info(LogManager.getHeader(context, "invalid_email", "email=" + email));

   request.setAttribute("retry", new Boolean(true));

   JSPManager.showJSP(request, response, "/register/new-user.jsp");

   return;

}

 

You may find that your email server will only send to external email address if 
you log in to the server, and if you are not logged in, it will only relay 
messages to internal users. You'll need to talk to your email server 
administrator to find this out.

 

If this is the case, then edit the following settings in your dspace.cfg file:

 

# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

Ph: 64 9 373-7599 x81928

http://www.library.auckland.ac.nz <http://www.library.auckland.ac.nz/> /

 

 

 

From: liss RR [mailto:[email protected]] 
Sent: Thursday, 14 May 2009 2:01 a.m.
To: Stuart Lewis
Subject: RE: [Dspace-tech] The e-mail address you entered was invalid.

 

Hi Stuart,
 
the version that I installed is 1.4.1 it don't have the section set that you 
say. I know that section is in 1.5.1 version. Do I most add this section on my 
dspace.cfg?
 

________________________________

Subject: RE: [Dspace-tech] The e-mail address you entered was invalid.
Date: Wed, 13 May 2009 16:28:51 +1200
From: [email protected]
To: [email protected]; [email protected]

Hi Liss,

 

Do you have the following section set in your dspace.cfg?

 

#### PasswordAuthentication options ####

 

# Only emails ending in the following domains are allowed to self-register

# Example - example.com domain : @example.com

# Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk

# authentication.password.domain.valid = example.com

 

This might be set to '@uv.mx' which would explain the behaviour you are seeing.

 

Thanks,

 

 

Stuart Lewis

Digital Services Programmer

Te Tumu Herenga The University of Auckland Library

Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

Ph: 64 9 373-7599 x81928

http://www.library.auckland.ac.nz <http://www.library.auckland.ac.nz/> /

 

 

 

From: liss RR [mailto:[email protected]] 
Sent: Wednesday, 13 May 2009 5:35 a.m.
To: listaDspace
Subject: [Dspace-tech] The e-mail address you entered was invalid.

 


Hi all !!


 
when somebody try to register  on my repository  
(http://dgb.xalapa.intra.uv.mx:8080/dspace/) if 
<http://dgb.xalapa.intra.uv.mx:8080/dspace/)%20if>  the email's domain is uv.mx 
the registration is successfully for example: [email protected], but if the domain is 
diferent for example: [email protected] or yahoo or gmail, I get the following


User Registration


The e-mail address you entered was invalid. Please try again.
 
this is my email settings in the dspace.cfg, I hope you can help me 
 

##### Email settings ######
# SMTP mail server
mail.server=mailweb.uv.mx
# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword
# 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 = [email protected]
 
 
thank you.

________________________________

Actualiza tu Perfil de Windows Live y cuéntale al mundo quién eres 
<http://www.actualizatuperfil.com.mx/> 

 

________________________________

Si no está en Windows Live nunca pasó. Actualiza tu Perfil

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to