def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr("Indico Mailer <%s>" % Config.getInstance().getNoReplyEmail()) self.setToList([user.getEmail()]) self.setSubject("""[Indico] You have been removed as %s of the conference "%s" (id: %s)""" % (role, conference.getTitle(), str(conference.getId()))) self.setBody("""Dear Indico user, We are sorry to inform you that you have been removed as %s of the conference "%s" (id: %s). Thank you for using our system. """ % ( role, conference.getTitle(), str(conference.getId()) ))
def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr("Indico Mailer <%s>" % Config.getInstance().getNoReplyEmail()) self.setToList([user.getEmail()]) self.setSubject("""You are no longer a %s of the conference "%s" """ % (role, conference.getTitle())) self.setBody("""Dear %s, Please, be aware that you are no longer a %s of the conference "%s": %s Kind regards, Indico on behalf of "%s" """% ( user.getStraightFullName(), role, conference.getTitle(), urlHandlers.UHConferenceDisplay.getURL(conference), conference.getTitle()))
def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr("Indico Mailer <%s>" % Config.getInstance().getNoReplyEmail()) self.setToList([user.getEmail()]) self.setSubject("""You have been chosen as a %s for the conference "%s" """ % (role, conference.getTitle())) self.setBody("""Dear %s, You have been chosen as a %s for the conference entitled "%s" in order to help with the paper reviewing process. Please find the Paper Reviewing utilities here: %s Kind regards, Indico on behalf of "%s" """ % ( user.getStraightFullName(), role, conference.getTitle(), urlHandlers.UHPaperReviewingDisplay.getURL(conference), conference.getTitle()))
def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr( "Indico Mailer<%s>" % HelperMaKaCInfo.getMaKaCInfoInstance().getSupportEmail()) self.setToList([user.getEmail()]) self.setSubject( """[Indico] You have been removed as %s of the conference "%s" (id: %s)""" % (role, conference.getTitle(), str(conference.getId()))) self.setBody("""Dear Indico user, We are sorry to inform you that you have been removed as %s of the conference "%s" (id: %s). Thank you for using our system. """ % (role, conference.getTitle(), str(conference.getId())))
def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr("Indico Mailer <%s>" % Config.getInstance().getNoReplyEmail()) self.setToList([user.getEmail()]) self.setSubject("""[Indico] You have been chosen as %s for the conference "%s" (id: %s)""" % (role, conference.getTitle(), str(conference.getId()))) self.setBody("""Dear Sir or Madam, You have been chosen as %s of the conference "%s" (id: %s), in order to help with the paper reviewing process. You can go to the conference main page: %s After logging in, you will find a link under 'Paper reviewing' on which you can click to perform your new functions. Best regards """ % ( role, conference.getTitle(), str(conference.getId()), urlHandlers.UHConferenceDisplay.getURL(conference) ))
def __init__(self, user, role, conference): GenericNotification.__init__(self) self.setFromAddr( "Indico Mailer<%s>" % HelperMaKaCInfo.getMaKaCInfoInstance().getSupportEmail()) self.setToList([user.getEmail()]) self.setSubject( """[Indico] You have been chosen as %s for the conference "%s" (id: %s)""" % (role, conference.getTitle(), str(conference.getId()))) self.setBody("""Dear Indico user, You have been chosen as %s of the conference "%s" (id: %s), in order to help with the abstract / contribution reviewing process. You can go to the conference main page: %s After loggin in, you will find a link under 'My Conference' where you can click to perform your new functions. Thank you for using our system. """ % (role, conference.getTitle(), str(conference.getId()), urlHandlers.UHConferenceDisplay.getURL(conference)))