Examples of SystemSender


Examples of org.fenixedu.academic.domain.util.email.SystemSender

public class AlumniNotificationService {

    private static void sendEmail(final Collection<Recipient> recipients, final String subject, final String body,
            final String bccs) {
        SystemSender systemSender = Bennu.getInstance().getSystemSender();
        new Message(systemSender, systemSender.getConcreteReplyTos(), recipients, subject, body, bccs);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.util.email.SystemSender

        final int p = getPreferenceOrder().compareTo(o.getPreferenceOrder());
        return p == 0 ? getExternalId().compareTo(o.getExternalId()) : p;
    }

    public void deleteWithNotification() {
        final SystemSender sender = getRootDomainObject().getSystemSender();
        if (sender != null) {
            final Registration registration = getOutboundMobilityCandidacySubmission().getRegistration();
            final Recipient recipient = new Recipient(UserGroup.of(registration.getPerson().getUser()));
            new Message(sender, recipient, BundleUtil.getString(Bundle.STUDENT, "label.email.deleted.contest.subject"),
                    BundleUtil.getString(Bundle.STUDENT, "label.email.deleted.contest.body",
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.