Project

General

Profile

« Previous | Next » 

Revision 52143

Added by Sofia Baltzi over 6 years ago

Fix email settings for beta

View differences:

modules/uoa-user-management/trunk/src/main/java/eu/dnetlib/openaire/user/utils/EmailSender.java
36 36
        //properties.put("mail.smtp.ssl.trust", "*");
37 37

  
38 38
        //Dev for sending email from gmail
39
//        /*
39
        /*
40 40
        properties.put("mail.smtp.auth", "true"); //enable authentication
41 41
        properties.put("mail.smtp.starttls.enable", "true");
42 42
        properties.put("mail.smtp.ssl.trust", "*");
43
//        */
43
        */
44 44
        Session session = javax.mail.Session.getInstance(properties,
45 45
            new Authenticator() {
46 46
                protected PasswordAuthentication getPasswordAuthentication() {
modules/uoa-user-management/trunk/src/main/resources/eu/dnetlib/openaire/user/springContext-userManagementService.properties
16 16
mail.smtp.port = 587
17 17
mail.smtp.auth = true
18 18
mail.users.username = openaire.test@gmail.com
19
mail.users.password = P@ssw0rD
19
#mail.users.password = P@ssw0rD
20 20
mail.smtp.from = openaire.test@gmail.com
21 21

  
22
#mail.users.password = ^($*@$)*!$
22
mail.users.password = ^($*@$)*!$

Also available in: Unified diff