Package org.fenixedu.academic.domain.util.email

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


    @Atomic
    public void createRecipientGroup(Sender sender) {
        Group recipientsGroup =
                NotUpdatedAlumniInfoForSpecificDaysGroup.get(getDaysNotUpdated(), getProfessionalInfo(), getFormationInfo(),
                        getPersonalDataInfo());
        Recipient recipients = Recipient.newInstance(recipientsGroup);
        sender.addRecipients(recipients);
    }
View Full Code Here


                getExecutionCourse().getNome(), getExecutionCourse().getDegreePresentationString());
        registration.removeShifts(this);

        ExecutionCourseSender sender = ExecutionCourseSender.newInstance(executionCourse);
        Collection<Recipient> recipients =
                Collections.singletonList(new Recipient(UserGroup.of(registration.getPerson().getUser())));
        final String subject = BundleUtil.getString(Bundle.APPLICATION, "label.shift.remove.subject");
        final String body = BundleUtil.getString(Bundle.APPLICATION, "label.shift.remove.body", getNome());

        new Message(sender, sender.getConcreteReplyTos(), recipients, subject, body, "");
    }
View Full Code Here

            body += "\n\n" + BundleUtil.getString(Bundle.APPLICATION, "mail.academicServiceRequest.concluded.message4");

        }

        final Sender sender = getAdministrativeOffice().getUnit().getUnitBasedSenderSet().iterator().next();
        final Recipient recipient = new Recipient(UserGroup.of(getPerson().getUser()));
        new Message(sender, sender.getReplyTos(), recipient.asCollection(), getDescription(), body, "");
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.util.email.Recipient

Copyright © 2018 www.massapicom. 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.