Project

General

Profile

« Previous | Next » 

Revision 49771

1. Disable emails.
2. Configure application properties of uoa-repository-manager-service app.

View differences:

modules/uoa-repository-manager-gui/branches/newAPI/src/main/java/eu/dnetlib/repo/manager/server/utils/EmailUtilsImpl.java
90 90

  
91 91
    private void sendMail(List<String> recipients, String subject, String message, boolean sendToSpecial, List<String> repoAdminMails) throws Exception {
92 92

  
93
        try {
93
       /* try {
94 94
            if (sendToSpecial) {
95 95
                recipients.addAll(this.specialRecipients);
96 96
            }
......
108 108
        } catch (Exception e) {
109 109
            LOGGER.error("Error sending mail to Recipients: " + recipients + " Subject: " + subject + " Message: " + message, e);
110 110
            throw new Exception(e);
111
        }
111
        }*/
112 112
    }
113 113

  
114 114
    private String getEmailProperty(String key) {
modules/uoa-repository-manager-gui/branches/newAPI/src/main/webapp/WEB-INF/applicationContext.xml
53 53
                <value>classpath*:/eu/**/springContext-*.properties</value>
54 54

  
55 55
                <value>classpath*:/eu/dnetlib/repo/manager/server/email-texts.properties</value>
56
                <value>classpath*:/eu/dnetlib/repo/manager/service/application.properties</value>
56 57

  
57 58
                <value>classpath*:dnet-site-wizard.properties</value>
58 59
                <value>classpath*:dnet-site-override.properties</value>

Also available in: Unified diff