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>" % 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)))