Project

General

Profile

« Previous | Next » 

Revision 54676

1. emailSender/EmailSender.java: enable property 'starttls' for mail (necessary when sending mail to mailing list address).
2. controllers/EmailController.java: 'sendEmail()' function returns success and failure lists for all emails to be sent.
3. resources/admintools.properties: change 'UserInfoUrl' property from 'mpagasas' to 'scoobydoo'.

View differences:

EmailSender.java
43 43
        properties.setProperty("mail.smtp.host", host);
44 44
        properties.put("mail.smtp.port", port);
45 45
        properties.put("mail.smtp.auth", auth); //enable authentication
46
        properties.put("mail.smtp.starttls.enable", "true");
46 47
        logger.debug("Try to connect to mail sender with "+username);
47 48
        Session session = Session.getInstance(properties,
48 49
                new javax.mail.Authenticator() {

Also available in: Unified diff